mirror of
https://github.com/jitsi/docker-jitsi-meet.git
synced 2026-04-02 15:51:05 +02:00
web: add ability to configure whiteboard
This commit is contained in:
parent
ac123134ea
commit
e219bcfc21
@ -150,6 +150,8 @@ services:
|
||||
- XMPP_MUC_DOMAIN
|
||||
- XMPP_RECORDER_DOMAIN
|
||||
- XMPP_PORT
|
||||
- WHITEBOARD_ENABLED
|
||||
- WHITEBOARD_COLLAB_SERVER_BASE_URL
|
||||
networks:
|
||||
meet.jitsi:
|
||||
|
||||
|
||||
@ -156,6 +156,7 @@ VirtualHost "{{ $XMPP_DOMAIN }}"
|
||||
"ping";
|
||||
"speakerstats";
|
||||
"conference_duration";
|
||||
"room_metadata";
|
||||
{{ if $ENABLE_END_CONFERENCE }}
|
||||
"end_conference";
|
||||
{{ end }}
|
||||
|
||||
@ -63,7 +63,8 @@
|
||||
{{ $ENABLE_LOCAL_RECORDING_SELF_START := .Env.ENABLE_LOCAL_RECORDING_SELF_START | default "false" | toBool -}}
|
||||
{{ $DISABLE_PROFILE := .Env.DISABLE_PROFILE | default "false" | toBool -}}
|
||||
{{ $ROOM_PASSWORD_DIGITS := .Env.ROOM_PASSWORD_DIGITS | default "false" -}}
|
||||
|
||||
{{ $WHITEBOARD_COLLAB_SERVER_PUBLIC_URL := .Env.WHITEBOARD_COLLAB_SERVER_PUBLIC_URL | default "" -}}
|
||||
{{ $WHITEBOARD_ENABLED := .Env.WHITEBOARD_ENABLED | default "false" | toBool -}}
|
||||
|
||||
// Video configuration.
|
||||
//
|
||||
@ -463,3 +464,8 @@ config.e2eping.maxConferenceSize = {{ .Env.E2EPING_MAX_CONFERENCE_SIZE }};
|
||||
{{ if .Env.E2EPING_MAX_MESSAGE_PER_SECOND -}}
|
||||
config.e2eping.maxMessagePerSecond = {{ .Env.E2EPING_MAX_MESSAGE_PER_SECOND }};
|
||||
{{ end }}
|
||||
|
||||
// Settings for the Excalidraw whiteboard integration.
|
||||
if (!config.hasOwnProperty('whiteboard')) config.whiteboard = {};
|
||||
config.whiteboard.enabled = {{ $WHITEBOARD_ENABLED }};
|
||||
config.whiteboard.collabServerBaseUrl = '{{ $WHITEBOARD_COLLAB_SERVER_PUBLIC_URL }}';
|
||||
@ -26,7 +26,7 @@ if (subdir.startsWith('<!--')) {
|
||||
subdir = '';
|
||||
}
|
||||
if (subdomain) {
|
||||
subdomain = subdomain.substr(0,subdomain.length-1).split('.').join('_').toLowerCase() + '.';
|
||||
subdomain = subdomain.substring(0,subdomain.length-1).split('.').join('_').toLowerCase() + '.';
|
||||
}
|
||||
config.hosts.muc = '{{ $XMPP_MUC_DOMAIN_PREFIX }}.' + subdomain + '{{ $XMPP_DOMAIN }}';
|
||||
{{ else -}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user