2023-12-24 18:54:49 +00:00
|
|
|
version: '3.8'
|
|
|
|
services:
|
|
|
|
dashy:
|
|
|
|
image: lissy93/dashy:latest
|
|
|
|
container_name: dashy
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- 'traefik.http.routers.dashy.rule=Host(`dashy.${DOMAIN_ROOT}`) || Host(`dash.${DOMAIN_ROOT}`) || Host(`${DOMAIN_ROOT}`)'
|
|
|
|
- "traefik.http.services.dashy.loadbalancer.server.port=80"
|
|
|
|
- 'traefik.http.routers.dashy.middlewares=authelia@docker'
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
- ./dashy.yml:/app/public/conf.yml
|
|
|
|
|
|
|
|
environment:
|
|
|
|
- DOMAIN_ROOT=${DOMAIN_ROOT}
|
|
|
|
- NODE_ENV=production
|
|
|
|
- UID=${USER_ID}
|
|
|
|
- GID=${GROUP_ID}
|
|
|
|
|
|
|
|
# Configure healthchecks
|
|
|
|
healthcheck:
|
|
|
|
test: ['CMD', 'node', '/app/services/healthcheck']
|
|
|
|
interval: 1m30s
|
|
|
|
timeout: 10s
|
|
|
|
retries: 3
|
|
|
|
start_period: 40s
|
|
|
|
|
2023-12-26 22:40:54 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
- web
|
|
|
|
|
2023-12-24 18:54:49 +00:00
|
|
|
networks:
|
2023-12-26 22:40:54 +00:00
|
|
|
web:
|
2023-12-24 18:54:49 +00:00
|
|
|
external: true
|