From f363c0017dcf2eff6abde9c76290402bd887d55e Mon Sep 17 00:00:00 2001 From: Michael Scheidel Date: Sat, 6 Dec 2025 16:28:39 +0100 Subject: [PATCH] =?UTF-8?q?docker/glances/docker-compse.yaml=20hinzugef?= =?UTF-8?q?=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/glances/docker-compse.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docker/glances/docker-compse.yaml diff --git a/docker/glances/docker-compse.yaml b/docker/glances/docker-compse.yaml new file mode 100644 index 0000000..21cb1bd --- /dev/null +++ b/docker/glances/docker-compse.yaml @@ -0,0 +1,20 @@ +services: + glances: + container_name: glances + image: nicolargo/glances:latest-full + healthcheck: + test: curl -f http://localhost:61208/ || exit 1 + mem_limit: 4g + cpu_shares: 768 + security_opt: + - no-new-privileges:true + pid: host + privileged: true + network_mode: host + restart: on-failure:5 + ports: + - 61208:61208 + volumes: + - /var/run/docker.sock:/var/run/docker.sock:ro + environment: + GLANCES_OPT: -w \ No newline at end of file