Add glances/docker-compose.yaml
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
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
|
||||||
|
|
||||||
Reference in New Issue
Block a user