diff --git a/glances/docker-compose.yaml b/glances/docker-compose.yaml index 166ed9c..37f2404 100644 --- a/glances/docker-compose.yaml +++ b/glances/docker-compose.yaml @@ -6,10 +6,12 @@ services: 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'