web: configure brandingDataUrl with env variables
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user