Files
selfhosting/glances/docker-compose.yml
T

29 lines
777 B
YAML
Raw Normal View History

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 13:00:18 +02:00
- traefik.http.routers.glances.entrypoints=websecure
2020-06-28 17:03:17 +02:00
#- traefik.http.routers.glances.tls=true
2020-06-30 19:15:43 +02:00
#- traefik.http.routers.glances.tls.certresolver=letsencrypt
2020-06-30 19:11:32 +02:00
#- traefik.http.routers.glances.middlewares=redirect-to-https
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: