diff --git a/docker-compose.yml b/docker-compose.yml index 1c39a73..bbc4e1e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -115,6 +115,7 @@ services: - LETSENCRYPT_DOMAIN - LETSENCRYPT_EMAIL - LETSENCRYPT_USE_STAGING + - LOGO_URL - MATOMO_ENDPOINT - MATOMO_SITE_ID - MICROSOFT_API_APP_CLIENT_ID diff --git a/web/rootfs/defaults/system-config.js b/web/rootfs/defaults/system-config.js index a4ce58c..3f729fd 100644 --- a/web/rootfs/defaults/system-config.js +++ b/web/rootfs/defaults/system-config.js @@ -68,3 +68,7 @@ config.websocket = 'wss://{{ $PUBLIC_URL_DOMAIN }}/xmpp-websocket'; config.bridgeChannel = { preferSctp: {{ $JVB_PREFER_SCTP }} }; + +{{ if .Env.LOGO_URL -}} +config.defaultLogoUrl = '{{ .Env.LOGO_URL }}'; +{{ end -}} diff --git a/web/rootfs/etc/cont-init.d/10-config b/web/rootfs/etc/cont-init.d/10-config index 318dfa7..be172ab 100644 --- a/web/rootfs/etc/cont-init.d/10-config +++ b/web/rootfs/etc/cont-init.d/10-config @@ -129,3 +129,7 @@ cp /defaults/interface_config.js /config/interface_config.js if [[ -f /config/custom-interface_config.js ]]; then cat /config/custom-interface_config.js >> /config/interface_config.js fi + +if [[ -n "${LOGO_URL}" ]]; then + ln -s /config/custom-images /usr/share/jitsi-meet/images/custom-images +fi