add env var for HTTP port
This commit is contained in:
parent
76f59f6335
commit
a51bedee8e
2 changed files with 3 additions and 1 deletions
|
@ -22,6 +22,7 @@ HOST_WIKIJS=wikijs
|
|||
TZ=Europe/Paris
|
||||
BASIC_AUTH=test:$$apr1$$H6uskkkW$$IgXLP6ewTrSuBkTrqE8wj/
|
||||
DELUGE_TORRENT_PORT=6881
|
||||
DOWNLOAD_HTTP_PORT=8000
|
||||
ROOT_INSTALL=/srv
|
||||
DB_ROOT_PASSWORD=rootpassword
|
||||
ADMIN_EMAIL=root@localdomain
|
||||
|
|
|
@ -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}`)
|
||||
|
|
Loading…
Add table
Reference in a new issue