Skip to content

Commit ea37859

Browse files
prosody: add ability to configure MUC modules through ENV variables
This allows for configuring how MUC modules can be used. Closes: jitsi#1310
1 parent 5ff69fd commit ea37859

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ services:
218218
- XMPP_INTERNAL_MUC_DOMAIN
219219
- XMPP_MODULES
220220
- XMPP_MUC_MODULES
221+
- XMPP_MUC_CONFIGURATION
221222
- XMPP_INTERNAL_MUC_MODULES
222223
- XMPP_RECORDER_DOMAIN
223224
- XMPP_PORT

prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,9 @@ Component "{{ $XMPP_MUC_DOMAIN }}" "muc"
243243
muc_room_cache_size = 1000
244244
muc_room_locking = false
245245
muc_room_default_public_jids = true
246+
{{ if .Env.XMPP_MUC_CONFIGURATION -}}
247+
"{{ join "\"\n\"" (splitList "," .Env.XMPP_MUC_CONFIGURATION) }}";
248+
{{ end -}}
246249

247250
Component "focus.{{ $XMPP_DOMAIN }}" "client_proxy"
248251
target_address = "{{ $JICOFO_AUTH_USER }}@{{ $XMPP_AUTH_DOMAIN }}"

0 commit comments

Comments
 (0)