New addition: Glances

This commit is contained in:
2023-09-09 15:13:10 +02:00
parent e71fa52c8c
commit 84ace83deb
2 changed files with 21 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
# Uncomment and change the following variables if you want to use them.
#RESTART=unless-stopped
#GLANCES_CONTAINER_NAME=Glances
#GLANCES_TAG=latest
#GLANCES_PORT=61208
+16
View File
@@ -0,0 +1,16 @@
services:
# Glances
glances:
container_name: ${GLANCES_CONTAINER_NAME:-Glances}
image: nicolargo/glances:${GLANCES_TAG:-latest-full}
restart: ${RESTART:-unless-stopped}
healthcheck:
test: curl -f http://localhost:61208/ || exit 1
pid: host
environment:
GLANCES_OPT: -w
TZ: ${TZ:-Europe/Amsterdam}
ports:
- ${GLANCES_PORT:-61208}:61208
volumes:
- /var/run/docker.sock:/var/run/docker.sock