2020-06-27 14:55:16 +02:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
glances:
|
|
|
|
|
container_name: glances
|
|
|
|
|
image: vimagick/glances
|
|
|
|
|
volumes:
|
|
|
|
|
- glances_data:/etc/glances
|
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
|
environment:
|
|
|
|
|
- GLANCES_OPT=-w
|
|
|
|
|
pid: host
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
networks:
|
|
|
|
|
- srv
|
|
|
|
|
expose:
|
|
|
|
|
- 61208
|
2020-06-27 16:47:01 +02:00
|
|
|
labels:
|
2020-06-27 17:46:18 +02:00
|
|
|
- traefik.enable=true
|
2020-06-28 11:43:06 +02:00
|
|
|
- traefik.http.routers.glances.rule=Host(`${HOST_GLANCES}.${DOMAIN}`)
|
2020-06-28 12:49:38 +02:00
|
|
|
- traefik.http.routers.glances.tls.certresolver=letsencrypt
|
2020-06-28 12:37:50 +02:00
|
|
|
- traefik.http.routers.glances.entrypoints=websecure
|
2020-06-27 16:47:01 +02:00
|
|
|
- traefik.http.services.glances.loadbalancer.server.port=61208
|
2020-06-27 17:46:18 +02:00
|
|
|
|
2020-06-27 14:55:16 +02:00
|
|
|
volumes:
|
|
|
|
|
glances_data:
|