add traefik labels to deluge

This commit is contained in:
gregory hendrickson
2023-11-10 23:53:55 -08:00
parent c5f4676dc5
commit ec27c62af3
2 changed files with 41 additions and 0 deletions

View File

@@ -9,6 +9,13 @@ services:
- PGID=1000
- TZ=Etc/UTC
- DELUGE_LOGLEVEL=error #optional
labels:
- "traefik.enable=true"
- "traefik.http.routers.deluge.rule=Host(`deluge.hndrx.co`)"
- "traefik.http.routers.deluge.entrypoints=websecure"
- "traefik.http.routers.deluge.tls=true"
- "traefik.http.routers.deluge.tls.certresolver=myresolver"
- "traefik.http.services.deluge.loadbalancer.server.port=8112"
volumes:
- /opt/deluge/config:/config
- /opt/deluge/downloads:/downloads