web: allow configuring buttons in toolbar and pre-join screen
This commit is contained in:
@@ -76,6 +76,7 @@ services:
|
||||
- ETHERPAD_URL_BASE
|
||||
- GOOGLE_ANALYTICS_ID
|
||||
- GOOGLE_API_APP_CLIENT_ID
|
||||
- HIDE_PREMEETING_BUTTONS
|
||||
- INVITE_SERVICE_URL
|
||||
- JICOFO_AUTH_USER
|
||||
- LETSENCRYPT_DOMAIN
|
||||
@@ -104,6 +105,7 @@ services:
|
||||
- TESTING_CAP_SCREENSHARE_BITRATE
|
||||
- TESTING_OCTO_PROBABILITY
|
||||
- TOKEN_AUTH_URL
|
||||
- TOOLBAR_BUTTONS
|
||||
- TZ
|
||||
- VIDEOQUALITY_BITRATE_H264_LOW
|
||||
- VIDEOQUALITY_BITRATE_H264_STANDARD
|
||||
|
||||
@@ -406,3 +406,9 @@ RESTART_POLICY=unless-stopped
|
||||
# Optional properties for shutdown api
|
||||
#COLIBRI_REST_ENABLED=true
|
||||
#SHUTDOWN_REST_ENABLED=true
|
||||
|
||||
# Configure toolbar buttons. Add the buttons name separated with comma(no spaces between comma)
|
||||
#TOOLBAR_BUTTONS=
|
||||
|
||||
# Hide the buttons at pre-join screen. Add the buttons name separated with comma
|
||||
#HIDE_PREMEETING_BUTTONS=
|
||||
@@ -364,3 +364,13 @@ config.disableReactions = {{ $DISABLE_REACTIONS }};
|
||||
|
||||
// Polls
|
||||
config.disablePolls = {{ $DISABLE_POLLS }};
|
||||
|
||||
// Configure toolbar buttons
|
||||
{{ if .Env.TOOLBAR_BUTTONS -}}
|
||||
config.toolbarButtons = [ '{{ join "','" (splitList "," .Env.TOOLBAR_BUTTONS) }}' ];
|
||||
{{ end -}}
|
||||
|
||||
// Hides the buttons at pre-join screen
|
||||
{{ if .Env.HIDE_PREMEETING_BUTTONS -}}
|
||||
config.hiddenPremeetingButtons = [ '{{ join "','" (splitList "," .Env.HIDE_PREMEETING_BUTTONS) }}' ];
|
||||
{{ end -}}
|
||||
Reference in New Issue
Block a user