web: configure brandingDataUrl with env variables

pull/771/head
Ludovic Muller 4 years ago committed by GitHub
parent a404653197
commit 087f024fcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docker-compose.yml
  2. 5
      web/rootfs/defaults/settings-config.js

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

@ -252,6 +252,11 @@ config.useStunTurn = {{ $USE_STUN_TURN }};
// Transcriptions (subtitles and buttons can be configured in interface_config)
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.
//

Loading…
Cancel
Save