web: configure brandingDataUrl with env variables

This commit is contained in:
Ludovic Muller
2020-10-08 10:13:44 +02:00
committed by GitHub
parent a404653197
commit 087f024fcb
2 changed files with 6 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ services:
- ANALYTICS_SCRIPT_URLS - ANALYTICS_SCRIPT_URLS
- ANALYTICS_WHITELISTED_EVENTS - ANALYTICS_WHITELISTED_EVENTS
- BRIDGE_CHANNEL - BRIDGE_CHANNEL
- BRANDING_DATA_URL
- CALLSTATS_CUSTOM_SCRIPT_URL - CALLSTATS_CUSTOM_SCRIPT_URL
- CALLSTATS_ID - CALLSTATS_ID
- CALLSTATS_SECRET - CALLSTATS_SECRET

View File

@@ -252,6 +252,11 @@ config.useStunTurn = {{ $USE_STUN_TURN }};
// Transcriptions (subtitles and buttons can be configured in interface_config) // Transcriptions (subtitles and buttons can be configured in interface_config)
config.transcribingEnabled = {{ $ENABLE_TRANSCRIPTIONS }}; config.transcribingEnabled = {{ $ENABLE_TRANSCRIPTIONS }};
{{ if .Env.BRANDING_DATA_URL -}}
// External API url used to receive branding specific information.
config.brandingDataUrl = '{{ .Env.BRANDING_DATA_URL }}';
{{ end -}}
// Deployment information. // Deployment information.
// //