Files
docker-infrastructure/glances/docker-compose.yaml
T
poprhythm 947f5fd348 Add GPU monitoring support to glances
Enable NVIDIA runtime and GPU visibility for GPU performance metrics.
2026-01-31 19:52:58 +00:00

21 lines
568 B
YAML

version: '3'
services:
glances:
container_name: glances
image: 'nicolargo/glances:latest-full'
restart: unless-stopped
privileged: true
runtime: nvidia
ports:
- 61208-61209:61208-61209
environment:
- TZ=${TZ}
- NVIDIA_VISIBLE_DEVICES=all
- "GLANCES_OPT=-C /glances/conf/glances.conf -w"
volumes:
- '/var/run/docker.sock:/var/run/docker.sock:ro'
- '/run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro'
- /srv/glances/glances.conf:/glances/conf/glances.conf
pid: host