From cda1fddde19157599f453ad0c152a86d83d625ce Mon Sep 17 00:00:00 2001 From: pi-farm Date: Thu, 22 Jan 2026 16:39:26 +0100 Subject: [PATCH 1/4] Add Community-Container GLANCES Signed-off-by: Pi-Farm --- community-containers/glances/code.json | 39 ++++++++++++++++++++++++++ community-containers/glances/readme.md | 16 +++++++++++ 2 files changed, 55 insertions(+) create mode 100644 community-containers/glances/code.json create mode 100644 community-containers/glances/readme.md diff --git a/community-containers/glances/code.json b/community-containers/glances/code.json new file mode 100644 index 00000000..cd72aa34 --- /dev/null +++ b/community-containers/glances/code.json @@ -0,0 +1,39 @@ +{ + "aio_services_v1": [ + { + "container_name": "nextcloud-aio-glances", + "display_name": "Glances", + "documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/glances", + "image": "nicolargo/glances", + "image_tag": "latest-full", + "internal_port": "61208", + "restart": "unless-stopped", + "ports": [ + { + "ip_binding": "", + "port_number": "61208", + "protocol": "tcp" + } + ], + "volumes": [ + { + "source": "nextcloud_aio_glances", + "destination": "/etc/glances", + "writeable": true + }, + { + "source": "/var/run/docker.sock", + "destination": "/var/run/docker.sock", + "writeable": false + } + ], + "environment": [ + "GLANCES_OPT=-w", + "8008:61208" + ], + "backup_volumes": [ + "nextcloud_aio_glances" + ] + } + ] +} \ No newline at end of file diff --git a/community-containers/glances/readme.md b/community-containers/glances/readme.md new file mode 100644 index 00000000..f011a610 --- /dev/null +++ b/community-containers/glances/readme.md @@ -0,0 +1,16 @@ +## Glances +This container starts Glances, a web-based info-board, and auto-configures it for you. + +### Notes +- After adding and starting the container, you can directly visit http://ip.address.of.server:61208/ and access your new Glances instance! +- In order to access your Glances outside the local network, you have to set up your own reverse proxy. You can set up a reverse proxy following [these instructions](https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md) OR use the [Caddy](https://github.com/nextcloud/all-in-one/tree/main/community-containers/caddy) community container. +- If you have a firewall like ufw configured, you might need to open all Glances ports in there first in order to make it work. Especially port 61208 is important! +- If you want to secure the installation with fail2ban, you might want to check out https://github.com/nextcloud/all-in-one/tree/main/community-containers/fail2ban +- The data of Glances will be automatically included in AIO's backup solution! +- See [here](https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers) how to add it to the AIO stack. + +### Repository +https://github.com/nicolargo/glances + +### Maintainer +https://github.com/pi-farm From 90c48606dc238ee4c751e64c6583c1d78c5e9873 Mon Sep 17 00:00:00 2001 From: Pi-Farm Date: Thu, 22 Jan 2026 16:49:53 +0100 Subject: [PATCH 2/4] rename json-file to glances.json Signed-off-by: Pi-Farm --- community-containers/glances/{code.json => glances.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename community-containers/glances/{code.json => glances.json} (100%) diff --git a/community-containers/glances/code.json b/community-containers/glances/glances.json similarity index 100% rename from community-containers/glances/code.json rename to community-containers/glances/glances.json From 434deeb9e945c744d0da78333c24a4ed0f18d6e2 Mon Sep 17 00:00:00 2001 From: Pi-Farm Date: Thu, 22 Jan 2026 16:58:10 +0100 Subject: [PATCH 3/4] ports in environment deleted Signed-off-by: Pi-Farm --- community-containers/glances/glances.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/community-containers/glances/glances.json b/community-containers/glances/glances.json index cd72aa34..d304c4ac 100644 --- a/community-containers/glances/glances.json +++ b/community-containers/glances/glances.json @@ -28,8 +28,7 @@ } ], "environment": [ - "GLANCES_OPT=-w", - "8008:61208" + "GLANCES_OPT=-w" ], "backup_volumes": [ "nextcloud_aio_glances" From f7ab17c8eff1c54ff35fadec82ae514d34391fab Mon Sep 17 00:00:00 2001 From: Pi-Farm <43029891+pi-farm@users.noreply.github.com> Date: Fri, 30 Jan 2026 16:50:58 +0100 Subject: [PATCH 4/4] Update community-containers/glances/glances.json Co-authored-by: Simon L. Signed-off-by: Pi-Farm <43029891+pi-farm@users.noreply.github.com> --- community-containers/glances/glances.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/community-containers/glances/glances.json b/community-containers/glances/glances.json index d304c4ac..13bb13d1 100644 --- a/community-containers/glances/glances.json +++ b/community-containers/glances/glances.json @@ -22,7 +22,7 @@ "writeable": true }, { - "source": "/var/run/docker.sock", + "source": "%WATCHTOWER_DOCKER_SOCKET_PATH%", "destination": "/var/run/docker.sock", "writeable": false }