@nebulon cheers, I just want to be able to build it locally to validate and test any changes to my dockerfile without having to commit and push (I have a github action that builds the docker image)
rossmaclean
Posts
-
Base Image Arm Support -
Base Image Arm Support@girish I might be misunderstanding something, but I'm not suggesting Arm support for the box etc. I just want to be able to build my app container locally on my arm Mac for testing. It will still be built as amd64 when deploying to Cloudron.
-
Base Image Arm Support@girish Is this something I can help with?
-
ProxyAuth Not Working@girish I didn't I was updating an existing app. Installing it fresh has fixed it!
Could the docs be updated to note that the app has to be completely reinstalled for it to work?
Cheers
-
ProxyAuth Not WorkingHey,
I'm trying to use the proxyAuth addon with an app I've packaged. It's my understanding that the proxy auth sits between the reverse proxy and the app container and therefore requires no changes to my app code? The app I packaged is running Nginx to server a site so just confirming I don't need to make changes to the nginx config for that.
Here's my CloudronManifest
{ "version": "0.1.0", "healthCheckPath": "/", "httpPort": 80, "addons": { "localstorage": {}, "proxyAuth": {} }, "manifestVersion": 2 }
The issue I'm having is that when I go to my site it's not giving me the login prompt. I've tried on other devices/incognito etc in case it was caching the page/creds.
Cheers!
Ross -
Base Image Arm SupportHey,
Is it possible for the Cloudron base image be updated for linux/arm64?
I know there are already threads around arm support for Cloudron/RPi:
- https://forum.cloudron.io/topic/6822/arm-official-support
- https://forum.cloudron.io/topic/7278/raspberry-pi-support
However my use case is for packaging custom apps on an arm Mac.
IIRC depending on the build flow for the base image, it might be as simple as adding the linux/arm64 platform tag. I'm happy to help with this change if pointed in the right direction.
I see there is a base-arm64 docker image however it hasn't been updated in 2 years (https://hub.docker.com/search?q=cloudron%2Fbase). Is the preference to have a different base image for arm64 support?
Cheers,
Ross
-
Github Action to deploy a Cloudron app@girish That would be awesome if you could add it.
-
Github Action to deploy a Cloudron app@girish It is indeed, still WIP but there's not much left to do. I plan to finish it soon.
I might actually have a feature/merge request I need to raise regarding allowing environment variables to be set using the --token flag (unless I missed something and it is already a feature).
I hope others find the Action useful!
-
MongoDB for general usage@girish Thanks! I've just created a personal repo (https://git.cloudron.io/rossmaclean/mongodb-app) which I assume I would then "move" to the Cloudron project later is that correct?
I need to wait for my work to approve my Open Source request, which I couldn't raise until I had the repo url. This could take up to two week, but I'll push my code as soon as it is approved.
What is the process for getting code reviews etc? e.g. if I want someone to take a look at what I've got so far, who are the best people to ask and where is the best place to reach them?
Cheers
-
MongoDB for general usage@girish great thanks, my handle is the same as here (@rossmaclean)
-
MongoDB for general usageHey, I've (mostly) packaged MongoDB for use on Cloudron, I am happy to share/add it to a GitLab repo.
@girish Would it be ok to get a repo created for this? If you feel this is not something suited for Cloudron and don't want it on the App Store, I understand.
Cheers
Ross
-
How to increase max memory?Thanks everyone for your replies and suggestions.
@nebulon I've deployed that version and it looks good to me. Thanks for your work! I'll keep an eye on the server once the package is released and if the server crashes again I'll be able to see in the crash report how much memory it was using at the time.
-
How to increase max memory?Hi,
It appears that the max memory flag is hardcoded here:
https://git.cloudron.io/cloudron/minecraft-app/-/blob/master/backend/minecraft.js#L28I am seeing frequent crashes and I think it may be due to max memory being capped at 1GB. How can I overcome this?
Cheers,
Ross
-
Bug when Resizing Apps@girish Thanks, this fixed the issue! However, during subsequent testing I found that Redis goes down approx. 30% of the time when I stop the app. For testing I am using Scrumblr but I have seen similar issues with GitLab too. Is this an issue locally for me on my VPS, or could there be something else going on?
Cheers,
Ross
-
Bug when Resizing AppsHey,
If I try to resize an app when it is stopped, it fails with this error:
Inactive: Error getting IP of redis-9e78f3cb-06ae-4b9d-8533-01f2b9bc938c service
(Where the ID is the ID of the app I'm trying to resize)
Since the App is now in an error state, it is not possible to start the App as the "Start App" button is greyed out with the message "App is in error state".I think this must be a bug, and if there is no workaround to start the App it means you must delete the App and create it again.
Cheers,
Ross
-
Deploy Dockerized React App@girish Sorry for the late reply, I tried this and got it working!
Thanks,
Ross -
Deploy Dockerized React AppHi All,
I'm fairly new to Cloudron and Docker and I'm trying to deploy a simple React app which I created using npx create-react-app.
- Dockerfile Which I found from one of the many examples online (each of which is slightly different)
- CloudronManifest
I can create the container locally with port 80:80 and access it from my browser, however when I deploy to Cloudron I get the following errors:
Oct 14 22:40:21 /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration Oct 14 22:40:21 /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ Oct 14 22:40:21 /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh Oct 14 22:40:21 10-listen-on-ipv6-by-default.sh: error: can not modify /etc/nginx/conf.d/default.conf (read-only file system?) Oct 14 22:40:21 /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh Oct 14 22:40:21 /docker-entrypoint.sh: Configuration complete; ready for start up Oct 14 22:40:21 2020/10/14 21:40:21 [emerg] 1#1: mkdir() "/var/cache/nginx/client_temp" failed (30: Read-only file system) Oct 14 22:40:21 nginx: [emerg] mkdir() "/var/cache/nginx/client_temp" failed (30: Read-only file system)
I can see it's something to do with the file Nginx is trying to edit but I am unsure how to fix it.
There are some web examples on the Cloudron Gitlab however they seem to be running the app in development mode instead of actually building it.Apologies in advance if I'm just being a Docker noob and this is nothing to do with Cloudron
Thanks,
Ross
-
Prometheus - monitoring & time series databaseAfter installing Grafana on Cloudron, I'd really like this too!