Since I opened that issue back then, I want to mention that in the meantime I developed my own backup solution which I think is better than Borg. Right now I am 90% done with version 2 of it and I will definitively use it to backup my Cloudron instance.
dswd
Posts
-
Borg backup to local/attached and S3 Compatible Object Storage -
Code Server (Vs code online)@infogulch
My current code already uses proxyAuth and adds TCP and UDP ports for dev that you can freely assign.
Please tell me what you think is missing and I will add it. -
Code Server (Vs code online)@robi Do you have any experience with docker-in-docker on Cloudron?
-
Code Server (Vs code online)@murgero
I think I found a way to get around the read-only root and install additional software. I added a script that will fetch and install a minimal Linux and chroot into it:chroot-alpine
.
Inside it you can install additional software as you like. You can also use the same method to run Ubuntu instead of Alpine Linux but that will use much more storage. -
Code Server (Vs code online)@murgero
I can see your point. You are providing those dependencies to users just in case they need them (and because you need them). I agree, not being able to install packages is kind of a problem. However, a lot of software (e.g. nodejs, rust and php) can be installed into the user space.
I decided against putting in more dependencies because I don't want to monitor so many dependencies for security issues and push new releases every other day.
I too think it would be best to keep the versions separate as you require those dependencies.
Oh and no, your comment does not come off as negative (hope mine doesn't either). We just have different approaches. -
Code Server (Vs code online)@murgero
I checked your image. It seems to install lots of packages that are not needed for code server (e.g. Apache and PHP). Also it adds some plugins that I don't think are required (sendmail, mysql and redis).
I suggest using my image as base because it seems more minimal. Can you test it and check if there is any functionality missing that I could add? -
Code Server (Vs code online)@atrilahiji
I added optional proxyAuth to the image. If SSO is enabled, the password in the vscode app is disabled. -
Code Server (Vs code online)@murgero said in Code Server (Vs code online):
@dswd - would we be able to merge our projects together so there is not 2 vastly different builds floating about?
I am sorry, I was not aware of your app since it was not on the app store. Otherwise I would have used it and maybe sent a PR.
We should compare our approaches and select the best parts of each. Where is your code located? -
Code Server (Vs code online)@atrilahiji said in Code Server (Vs code online):
Does this have any sort of auth built in? Might be worth looking into the proxyAuth addon.
Yes code server comes with a simple passwort auth. You can disable it and roll your own if you want to. It is not super helpful to integrate it with Cloudron LDAP as all users share one IDE but you can have a single password if you want to.
I will have a look into optional proxyAuth, however.
-
Code Server (Vs code online)I have packaged a new app: A Visual Studio Code version that runs in the browser.
Here is the code: https://git.cloudron.io/dswd/vscode-app
The app works and already runs on my instance, but there are no tests yet.
I would like to submit the app to the appstore (for others to test and use) but currently I have a problem with the docker repository. Apparently I can only submit apps that are hosted on the Cloudron repo but I don't know how to push there.
-
Cloudron Non-App Store Packaged AppsHere are the repos for the apps:
-
Code Server (Vs code online)@girish Should I move the code back to my repo or should it stay on the cloudron git, or do you want to take over maintenance to make it an official app? How do you do this normally?
-
Cloudron Non-App Store Packaged Apps@thetomester13 There is no UI in the package. Zola has a serve mode where it listens to changes and rebuilds automatically. You can use this to edit the files and see the changes in the browser in almost realtime. That is as close as zola gets to a UI (it's not a wiki). However, this is not packaged by me. You don't want visitors to see your edits live, do you? You use the serve mode locally to edit the pages and then push them to git which triggers my zola app to build and host the static pages.
-
Code Server (Vs code online)@girish Yes, its based on code server
-
Visual Studio Code AppI have packaged a new app: A Visual Studio Code version that runs in the browser.
Here is the code: https://git.cloudron.io/dswd/vscode-app
The app works and already runs on my instance, but there are no tests yet.
I would like to submit the app to the appstore (for others to test and use) but currently I have a problem with the docker repository. Apparently I can only submit apps that are hosted on the Cloudron repo but I don't know how to push there.
-
Cloudron Non-App Store Packaged AppsI also have some apps that I am using privately and that I can contribute if people are interested:
- Nginx: A simple nginx install with PHP support. Similar to LAMP but with nginx
- Zola: A package using zola (getzola.org) to build static pages. The code comes from a git repo and supports webhook triggers to allow a nice push to git -> build static page workflow.