forked from SimpleHomelab/docker-traefik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashy.yml
30 lines (30 loc) · 1 KB
/
dashy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Dashy - Application Dashboard
dashy:
<<: *common-keys-apps # See EXTENSION FIELDS at the top
container_name: dashy
image: lissy93/dashy
healthcheck:
test: ['CMD', 'node', '/app/services/healthcheck']
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
ports:
- 4000:80
volumes:
- $DOCKERDIR/appdata/dashy/conf.yml:/app/public/conf.yml
- $DOCKERDIR/appdata/dashy:/app/public/item-icons
environment:
- NODE_ENV=production
- UID=$PUID
- GID=$PGID
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.dashy-rtr.entrypoints=https"
- "traefik.http.routers.dashy-rtr.rule=Host(`$DOMAINNAME_HOME_SYNOLOGY`,`www.$DOMAINNAME_HOME_SYNOLOGY`)"
## Middlewares
- "traefik.http.routers.dashy-rtr.middlewares=chain-oauth@file"
## HTTP Services
- "traefik.http.routers.dashy-rtr.service=dashy-svc"
- "traefik.http.services.dashy-svc.loadbalancer.server.port=80"