homelab/archive/2023.09.bxl-rpi/apps/docker-compose.dashy.yaml

30 lines
847 B
YAML
Raw Normal View History

2023-05-14 17:33:35 +02:00
services:
dashy:
container_name: dashy
2023-05-23 14:09:32 +02:00
image: dashy
2023-05-14 17:33:35 +02:00
environment:
- NODE_ENV=production
restart: unless-stopped
volumes:
- $CONFIG/dashy/config.yml:/app/public/conf.yml
labels:
- "traefik.enable=true"
- "traefik.http.routers.dashy.rule=Host(`hub.bhasher.com`)"
- "traefik.http.routers.dashy.entrypoints=internalsecure"
- "traefik.http.services.dashy.loadbalancer.server.port=80"
- "traefik.http.routers.dashy.tls=true"
- "traefik.http.routers.dashy.tls.certresolver=http"
- "traefik.http.routers.dashy.middlewares=authelia@docker"
2023-05-23 14:09:32 +02:00
- "com.centurylinklabs.watchtower.enable=false"
2023-05-14 17:33:35 +02:00
healthcheck:
test: ['CMD', 'node', '/app/services/healthcheck']
interval: 1m30s
timeout: 10s
retries: 3
networks:
- external
networks:
external:
external: true