From 84ace83deb6eff71a3deb7e9b0128b226cae2d62 Mon Sep 17 00:00:00 2001 From: Michel Date: Sat, 9 Sep 2023 15:13:10 +0200 Subject: [PATCH] New addition: Glances --- glances/.env.sample | 5 +++++ glances/compose.yml | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 glances/.env.sample create mode 100644 glances/compose.yml diff --git a/glances/.env.sample b/glances/.env.sample new file mode 100644 index 0000000..d95c13f --- /dev/null +++ b/glances/.env.sample @@ -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 diff --git a/glances/compose.yml b/glances/compose.yml new file mode 100644 index 0000000..e1be6b2 --- /dev/null +++ b/glances/compose.yml @@ -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