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
This commit is contained in:
Lazaro Herrera 2022-06-23 13:39:07 -04:00 committed by GitHub
parent 5ff69fd4ce
commit ea378598c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

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

View File

@ -243,6 +243,9 @@ Component "{{ $XMPP_MUC_DOMAIN }}" "muc"
muc_room_cache_size = 1000 muc_room_cache_size = 1000
muc_room_locking = false muc_room_locking = false
muc_room_default_public_jids = true 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" Component "focus.{{ $XMPP_DOMAIN }}" "client_proxy"
target_address = "{{ $JICOFO_AUTH_USER }}@{{ $XMPP_AUTH_DOMAIN }}" target_address = "{{ $JICOFO_AUTH_USER }}@{{ $XMPP_AUTH_DOMAIN }}"