@AartJansen Did you try the marker on the bottom right of the edit field? You can resize it with a mouse and move click.
Kubernetes
Posts
-
It would be nice to have more anti-spam measures -
Multi-Stage Dockerfiles@girish okay, so that means, this example of a Dockerfile would be acceptable?
FROM node:20-alpine as build-stage WORKDIR /app COPY package*.json ./ RUN npm install COPY . . RUN npm run build FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768ba473078319a47f4 as production-stage WORKDIR /app COPY --from=build-stage /app/node_modules ./node_modules COPY --from=build-stage /app/package.json ./ COPY --from=build-stage /app/dist ./dist COPY --from=build-stage /app/server.js ./ COPY --from=build-stage /app/static-server.js ./ COPY --from=build-stage /app/api ./api EXPOSE 18966 CMD ["npm", "start"]
-
Multi-Stage DockerfilesDear @staff ,
I would like to request to accept Multi Stage Dockerfiles for Cloudron packages.
As at the end only the generated Docker Image is what is relevent, it should be accepted if a Multi Stage Dockerfile has been used to build the Cloudron Package Docker Image.
IMHO this would speed up package creation a lot.
Best,
Mike -
IP-Whitelist for Proxy AppSure, in fact I would like to have some web services only available to users/processes from a specific network (eg. home or office ip address), but not anybody else.
In my case I have some kind of intranet webserver running on server B. Cloudron does the App Proxy to give access to it. I cannot use any authentication because there are some processes in the local network running that are not able to do authentication. So I would like to just whitelist them by IP Address.
-
IP-Whitelist for Proxy AppHi there,
I would like to have a ip white listing for the proxy App.
Scenario:
- Clouron is running on server A.
- Web service is running on server B.
- server A and B are in the same network.
- server A is reachable from internet, but server B is not.
- Cloudron Proxy App on server A enables access to Web service on server B.
- User A is located in a trusted network.
- User B is a stranger in some other network.
- User A is browsing to the URL for the proxied Web service.
- User B is browsing to the URL for the proxied Web service.
- User A is granted access without any authentication because of his trusted network source.
- User B is access denied because of his untrusted network source. (for me it would be already good if the connection just get rejected in that case, no message or page needs to be displayed)
Does this feature request make also sense to other Cloudron users?
Is there a chance to get this feature in the future?Cheers,
Michael -
Should ollama be part of this app package?@coniunctio Yes, exactly this was what I was referring to. Thank you for bringing this example up.
-
FacilMap@cdauth That looks very nice and valuable for self hosting... The Dockerfile seems to be straight forward...
Github Link: https://github.com/FacilMap/facilmap
-
How can we optimize/clean disk usage from Docker and more?Did you try to remove images individually? (I know this is not optimal, but on my system the prune doesn't free any new bytes, but removing images individually works to get space back)
-
Container can not connect to InternetHi Thomas,
can you confirm that DNS Lookup does work inside the container?Sorry, just re-read that you already did nslookup.
-
Self-Hosted Applications DirectoryHere is a nice directory of Self-Hosted Applications:
https://selfh.st/apps/ -
Nextcloud and local filesystem as VolumesI used the NextCloud "internal" functionality to mount the local path as another available space. Maybe that helps in your case?
-
install custom app via private registry and cloudron build@rosano Great, thank you. I have copied it to the template repo here
-
Docker compatible fileserver service@fbartels Thanks a lot for the suggestion of "Crazy Max" docker-samba. I did test it together with the other options. Finally I did like the configuration and usage of it most and decided to use it now.
-
Docker compatible fileserver serviceHi there,
currently I have a NAS running - realizing that I don't need most the features of the system. So I am looking for a replacement that allows me to provide CIFS/SMB, WebDAV and SFTP shares for my local network (as a Docker Container!). If the services does have an easy to use UI it would be good, but I would still be fine if it is only configured with config files.
Does anyone know something that I could use? I am still researching, but thought I could ask my beloved community here
Best,
MichaelPS: This is pretty old, but looks very close to what I am looking for
https://github.com/dperson/sambaPPS: I found this one, not so dated and seems to be stable
https://github.com/ServerContainers/samba -
SSD needed for Cloudron?I would love to have a dedicated power horse as a server for my cloudron. But the option to simple restore my cloud server from just an image backup in case of desaster is so much more important. So I decided to stay with my smaller cloud server and use a storagebox for more storage.
-
install custom app via private registry and cloudron build@rosano I would love to have it in the Readme of this repo. This way it would be available for any new custom app derived from this package template. If you are okay with it, I could just copy-paste your guide to it (with reference to your post), or you do a Pull Request
-
Best privacy chat apps@timconsidine I did try to use SimpleX with a friend. I use iOS, friend use Android. I tried to like SimpleX, but it was not such a good experience. Very battery consuming and many App crashes on both(!) devices.
-
How to modify the 'config.js' file?Here is another report in a dedicated thread. Let's move any discussions regarding this problem to that threat.
-
Error installing Miro SFUHa, I run into the same problem and reported here. Thanks for opening a dedicated thread regarding this issue.
-
How to modify the 'config.js' file?@nebulon Here, I found this in the Docker Logs:
Mar 20 17:40:25 cloudron-neu dockerd[1700124]: time="2024-03-20T16:40:25.995595821Z" level=info msg="ignoring event" container=fc77503dbbb7fb9ffe9ff5f361ab6652f4c946c66da86d028b0f7f31abdc9e59 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete" [no timestamp] module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete" Mar 20 17:41:32 cloudron-neu dockerd[1700124]: time="2024-03-20T16:41:32.310275336Z" level=info msg="ignoring event" container=711bac76b7bd8a27551480631e20cbf8e604bfc1dd8f05bddf6b0d339ac84d97 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete" Mar 20 17:42:32 cloudron-neu dockerd[1700124]: time="2024-03-20T16:42:32.322513808Z" level=info msg="ignoring event" container=711bac76b7bd8a27551480631e20cbf8e604bfc1dd8f05bddf6b0d339ac84d97 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete" Mar 20 17:42:46 cloudron-neu dockerd[1700124]: time="2024-03-20T16:42:46.284190805Z" level=warning msg="Failed to allocate and map port 40098-40098: listen tcp4 0.0.0.0:40098: bind: address already in use" Mar 20 17:42:46 cloudron-neu dockerd[1700124]: time="2024-03-20T16:42:46.598787393Z" level=error msg="1494637c834e0c6a9026d18d6c3d008edc0dbca0da12ad2fbe8a3339d7d4f361 cleanup: failed to delete container from containerd: no such container" Mar 20 17:42:46 cloudron-neu dockerd[1700124]: time="2024-03-20T16:42:46.599156620Z" level=error msg="Handler for POST /containers/182d9fc2-aa0e-4951-804f-b4c4a00b94a7/start returned error: driver failed programming external connectivity on endpoint 182d9fc2-aa0e-4951-804f-b4c4a00b94a7 (d5a71e2b0df94bff7ae4163cc294796f747b1f86075a3eecbfd3a9e68385d6d7): listen tcp4 0.0.0.0:40098: bind: address already in use" Mar 20 17:43:06 cloudron-neu dockerd[1700124]: time="2024-03-20T16:43:06.073197322Z" level=warning msg="Failed to allocate and map port 40098-40098: listen tcp4 0.0.0.0:40098: bind: address already in use" Mar 20 17:43:06 cloudron-neu dockerd[1700124]: time="2024-03-20T16:43:06.449953736Z" level=error msg="6864b23c80a98ea1f01687e09ccfe001f20ce1651668fa6912b892575de48247 cleanup: failed to delete container from containerd: no such container" Mar 20 17:43:06 cloudron-neu dockerd[1700124]: time="2024-03-20T16:43:06.450040583Z" level=error msg="Handler for POST /containers/182d9fc2-aa0e-4951-804f-b4c4a00b94a7/start returned error: driver failed programming external connectivity on endpoint 182d9fc2-aa0e-4951-804f-b4c4a00b94a7 (9735e02f4f548b3b4d02fbf53055e2ed9e2c7dbb8f76900925c7e702fdaab842): listen tcp4 0.0.0.0:40098: bind: address already in use" Mar 20 17:43:32 cloudron-neu dockerd[1700124]: time="2024-03-20T16:43:32.404387662Z" level=info msg="ignoring event" container=711bac76b7bd8a27551480631e20cbf8e604bfc1dd8f05bddf6b0d339ac84d97 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete" Mar 20 17:44:24 cloudron-neu dockerd[1700124]: time="2024-03-20T16:44:24.018592015Z" level=info msg="Configured log driver does not support reads, enabling local file cache for container logs" container=116ce5bd025a48a0cb1b66d3940fa3cfab0bd6475886df9523193ae9552afc24 driver=syslog Mar 20 17:44:32 cloudron-neu dockerd[1700124]: time="2024-03-20T16:44:32.294156425Z" level=info msg="ignoring event" container=711bac76b7bd8a27551480631e20cbf8e604bfc1dd8f05bddf6b0d339ac84d97 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete" Mar 20 17:45:26 cloudron-neu dockerd[1700124]: time="2024-03-20T16:45:26.190620327Z" level=info msg="ignoring event" container=fc77503dbbb7fb9ffe9ff5f361ab6652f4c946c66da86d028b0f7f31abdc9e59 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete" Mar 20 17:45:32 cloudron-neu dockerd[1700124]: time="2024-03-20T16:45:32.300180330Z" level=info msg="ignoring event" container=711bac76b7bd8a27551480631e20cbf8e604bfc1dd8f05bddf6b0d339ac84d97 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete" Mar 20 17:46:32 cloudron-neu dockerd[1700124]: time="2024-03-20T16:46:32.271952666Z" level=info msg="ignoring event" container=711bac76b7bd8a27551480631e20cbf8e604bfc1dd8f05bddf6b0d339ac84d97 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete" Mar 20 17:47:32 cloudron-neu dockerd[1700124]: time="2024-03-20T16:47:32.291207354Z" level=info msg="ignoring event" container=711bac76b7bd8a27551480631e20cbf8e604bfc1dd8f05bddf6b0d339ac84d97 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete" Mar 20 17:47:40 cloudron-neu dockerd[1700124]: time="2024-03-20T16:47:40.867731692Z" level=info msg="Container failed to exit within 10s of signal 15 - using the force" container=116ce5bd025a48a0cb1b66d3940fa3cfab0bd6475886df9523193ae9552afc24 Mar 20 17:47:40 cloudron-neu dockerd[1700124]: time="2024-03-20T16:47:40.958953058Z"
It was Port 40098 - (will correct this in my previous post)