add env var for HTTP port

This commit is contained in:
Yax 2020-08-15 13:31:21 +02:00
parent 76f59f6335
commit a51bedee8e
2 changed files with 3 additions and 1 deletions

View file

@ -41,8 +41,9 @@ services:
- deluge_downloads:/downloads:ro
expose:
- 80
# shortcut to bypass traefik limitation
ports:
- 8000:80
- ${DOWNLOAD_HTTP_PORT}:80
labels:
- traefik.enable=true
- traefik.http.routers.torrent.rule=Host(`${HOST_WWW}.${DOMAIN}`) && PathPrefix(`${PATH_TORRENT}`)