From a2f480bdaf17bcc0947b856f4a68569664ad6b93 Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 25 Jun 2026 22:57:13 -0700 Subject: [PATCH] refactor(meshcentral): parameterize HOSTNAME and Traefik Host() rule via MESHCENTRAL_HOST --- meshcentral.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meshcentral.yaml b/meshcentral.yaml index c0df792..e705286 100644 --- a/meshcentral.yaml +++ b/meshcentral.yaml @@ -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