19 lines
513 B
YAML
19 lines
513 B
YAML
version: '3'
|
|
|
|
services:
|
|
glances:
|
|
container_name: glances
|
|
image: 'nicolargo/glances:latest-full'
|
|
restart: unless-stopped
|
|
privileged: true
|
|
ports:
|
|
- 61208-61209:61208-61209
|
|
environment:
|
|
- TZ=${TZ}
|
|
- "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
|
|
|