mirror of
https://gitea.zaclys.com/yannic/selfhosting.git
synced 2026-04-25 17:00:40 +02:00
add env var for HTTP port
This commit is contained in:
@@ -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}`)
|
||||
|
||||
Reference in New Issue
Block a user