prosody: add ability to configure MUC modules through ENV variables

This allows for configuring how MUC modules can be used.

Closes: https://github.com/jitsi/docker-jitsi-meet/issues/1310
pull/1330/head
Lazaro Herrera 2 years ago committed by GitHub
parent 5ff69fd4ce
commit ea378598c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docker-compose.yml
  2. 3
      prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua

@ -218,6 +218,7 @@ services:
- XMPP_INTERNAL_MUC_DOMAIN
- XMPP_MODULES
- XMPP_MUC_MODULES
- XMPP_MUC_CONFIGURATION
- XMPP_INTERNAL_MUC_MODULES
- XMPP_RECORDER_DOMAIN
- XMPP_PORT

@ -243,6 +243,9 @@ Component "{{ $XMPP_MUC_DOMAIN }}" "muc"
muc_room_cache_size = 1000
muc_room_locking = false
muc_room_default_public_jids = true
{{ if .Env.XMPP_MUC_CONFIGURATION -}}
"{{ join "\"\n\"" (splitList "," .Env.XMPP_MUC_CONFIGURATION) }}";
{{ end -}}
Component "focus.{{ $XMPP_DOMAIN }}" "client_proxy"
target_address = "{{ $JICOFO_AUTH_USER }}@{{ $XMPP_AUTH_DOMAIN }}"

Loading…
Cancel
Save