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