glances - v 1.0
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#stack glances
|
||||
services:
|
||||
glances:
|
||||
image: nicolargo/glances:latest
|
||||
container_name: glances
|
||||
ports:
|
||||
- 61208:61208 # Port web UI
|
||||
environment:
|
||||
- TZ=Europe/Paris # Adapté à votre localisation
|
||||
- GLANCES_OPT=-w # Mode web server
|
||||
pid: host # Accès aux processus hôte
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro # Monitoring Docker
|
||||
- /etc/os-release:/etc/os-release:ro # Optionnel : pour infos OS hôte [page:1]
|
||||
networks:
|
||||
- 001-stack-npm_nginx-proxy
|
||||
# Pas de ports exposés : accès uniquement via NPM
|
||||
|
||||
networks:
|
||||
001-stack-npm_nginx-proxy:
|
||||
external: true # Réseau créé par NPM
|
||||
Reference in New Issue
Block a user