prosody: variables for lobby and breakout modules

pull/1577/head
Aaron van Meerten 1 year ago committed by Saúl Ibarra Corretgé
parent a827437fc9
commit cf894ce8f1
  1. 2
      docker-compose.yml
  2. 6
      prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua

@ -262,12 +262,14 @@ services:
- VISITORS_XMPP_DOMAIN
- VISITORS_XMPP_SERVER
- VISITORS_XMPP_PORT
- XMPP_BREAKOUT_MUC_MODULES
- XMPP_CONFIGURATION
- XMPP_DOMAIN
- XMPP_AUTH_DOMAIN
- XMPP_GUEST_DOMAIN
- XMPP_MUC_DOMAIN
- XMPP_INTERNAL_MUC_DOMAIN
- XMPP_LOBBY_MUC_MODULES
- XMPP_MODULES
- XMPP_MUC_MODULES
- XMPP_MUC_CONFIGURATION

@ -393,6 +393,9 @@ Component "lobby.{{ $XMPP_DOMAIN }}" "muc"
{{ if $ENABLE_RATE_LIMITS -}}
"muc_rate_limit";
{{ end -}}
{{ if .Env.XMPP_LOBBY_MUC_MODULES -}}
"{{ join "\";\n\"" (splitList "," .Env.XMPP_LOBBY_MUC_MODULES) }}";
{{ end -}}
}
{{ end }}
@ -414,6 +417,9 @@ Component "breakout.{{ $XMPP_DOMAIN }}" "muc"
{{ if $ENABLE_RATE_LIMITS -}}
"muc_rate_limit";
{{ end -}}
{{ if .Env.XMPP_BREAKOUT_MUC_MODULES -}}
"{{ join "\";\n\"" (splitList "," .Env.XMPP_BREAKOUT_MUC_MODULES) }}";
{{ end -}}
}
{{ end }}

Loading…
Cancel
Save