bxl dashy

This commit is contained in:
Brieuc Dubois 2023-01-02 23:40:52 +01:00 committed by Bhasher
parent 106144a093
commit 09c5c12440
1 changed files with 26 additions and 0 deletions

View File

@ -50,6 +50,32 @@ services:
networks:
- external
dashy:
container_name: dashy
image: lissy93/dashy:latest
volumes:
- /mnt/Main/containers/dashy/config.yml:/app/public/conf.yml
environment:
- NODE_ENV=production
- UID=1000
- GID=1000
restart: unless-stopped
healthcheck:
test: ['CMD', 'node', '/app/services/healthcheck']
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
labels:
- "traefik.enable=true"
- "traefik.http.routers.dashy.rule=Host(`dashboard.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"
networks:
- external
networks:
external:
external: true