55 lines
1.6 KiB
YAML
55 lines
1.6 KiB
YAML
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"
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
|
healthcheck:
|
|
test: ['CMD', 'node', '/app/services/healthcheck']
|
|
interval: 1m30s
|
|
timeout: 10s
|
|
retries: 3
|
|
networks:
|
|
- external
|
|
|
|
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"
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
|
healthcheck:
|
|
test: ['CMD', 'node', '/app/services/healthcheck']
|
|
interval: 1m30s
|
|
timeout: 10s
|
|
retries: 3
|
|
networks:
|
|
- external
|
|
|
|
networks:
|
|
external:
|
|
external: true
|