diff --git a/docker-compose.yml b/docker-compose.yml index 45c9db8..d88bd23 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 diff --git a/env.example b/env.example index 11f159e..6d10a30 100644 --- a/env.example +++ b/env.example @@ -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= \ No newline at end of file diff --git a/web/rootfs/defaults/settings-config.js b/web/rootfs/defaults/settings-config.js index f248e67..fc3ca0e 100644 --- a/web/rootfs/defaults/settings-config.js +++ b/web/rootfs/defaults/settings-config.js @@ -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 -}} \ No newline at end of file