2023-09-26 09:53:42 +02:00
|
|
|
services:
|
|
|
|
dashy:
|
|
|
|
container_name: dashy
|
|
|
|
image: dashy
|
|
|
|
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-12-26 22:59:06 +01:00
|
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
2023-09-26 09:53:42 +02:00
|
|
|
healthcheck:
|
|
|
|
test: ['CMD', 'node', '/app/services/healthcheck']
|
|
|
|
interval: 1m30s
|
|
|
|
timeout: 10s
|
|
|
|
retries: 3
|
|
|
|
networks:
|
|
|
|
- external
|
|
|
|
|
2023-10-19 01:55:50 +02:00
|
|
|
dashy-SD:
|
|
|
|
container_name: dashy-SD
|
|
|
|
image: dashy
|
|
|
|
environment:
|
|
|
|
- NODE_ENV=production
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- $CONFIG/dashy/config-sd.yml:/app/public/conf.yml
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.dashy-sd.rule=Host(`hub-sd.bhasher.com`)"
|
|
|
|
- "traefik.http.routers.dashy-sd.entrypoints=internalsecure,externalsecure"
|
|
|
|
- "traefik.http.services.dashy-sd.loadbalancer.server.port=80"
|
|
|
|
- "traefik.http.routers.dashy-sd.tls=true"
|
|
|
|
- "traefik.http.routers.dashy-sd.tls.certresolver=http"
|
|
|
|
- "traefik.http.routers.dashy-sd.middlewares=authelia@docker"
|
2023-12-26 22:59:06 +01:00
|
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
2023-10-19 01:55:50 +02:00
|
|
|
healthcheck:
|
|
|
|
test: ['CMD', 'node', '/app/services/healthcheck']
|
|
|
|
interval: 1m30s
|
|
|
|
timeout: 10s
|
|
|
|
retries: 3
|
|
|
|
networks:
|
|
|
|
- external
|
|
|
|
|
2023-09-26 09:53:42 +02:00
|
|
|
networks:
|
|
|
|
external:
|
|
|
|
external: true
|