17 lines
454 B
YAML
17 lines
454 B
YAML
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
|