refactor(meshcentral): parameterize HOSTNAME and Traefik Host() rule via MESHCENTRAL_HOST
ci/woodpecker/push/woodpecker Pipeline was canceled
ci/woodpecker/push/woodpecker Pipeline was canceled
This commit is contained in:
+3
-3
@@ -7,11 +7,11 @@ services:
|
||||
ports:
|
||||
- 8086:443
|
||||
environment:
|
||||
- HOSTNAME=assist.bryanmail.net
|
||||
- HOSTNAME=${MESHCENTRAL_HOST}
|
||||
- REVERSE_PROXY=10.0.0.0/8
|
||||
- REVERSE_PROXY_TLS_PORT=443
|
||||
- IFRAME=false #set to true if you wish to enable iframe support
|
||||
- ALLOW_NEW_ACCOUNTS=false #set to false if you want disable self-service creation of new accounts besides the first (admin)
|
||||
- ALLOW_NEW_ACCOUNTS=false #set to false if you want disable self-service creation of new accounts besides the first (admin)
|
||||
- WEBRTC=false #set to true to enable WebRTC - per documentation it is not officially released with meshcentral, but is solid enough to work with. Use with caution
|
||||
- BACKUPS_PW=${BACKUPS_PW} #password for the autobackup function
|
||||
- BACKUP_INTERVAL=24 # Interval in hours for the autobackup function
|
||||
@@ -23,7 +23,7 @@ services:
|
||||
deploy:
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.meshcentral.rule=Host(`assist.bryanmail.net`)
|
||||
- traefik.http.routers.meshcentral.rule=Host(`${MESHCENTRAL_HOST}`)
|
||||
- traefik.http.routers.meshcentral.tls=true
|
||||
- traefik.http.routers.meshcentral.tls.certresolver=letsencrypt
|
||||
- traefik.http.routers.meshcentral.entrypoints=websecure
|
||||
|
||||
Reference in New Issue
Block a user