diff --git a/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua b/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua index 5101008..a11f8fd 100644 --- a/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua +++ b/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua @@ -2,7 +2,9 @@ {{ $ENABLE_GUEST_DOMAIN := and $ENABLE_AUTH (.Env.ENABLE_GUESTS | default "0" | toBool)}} {{ $ENABLE_RECORDING := .Env.ENABLE_RECORDING | default "0" | toBool }} {{ $AUTH_TYPE := .Env.AUTH_TYPE | default "internal" }} +{{ $JIBRI_XMPP_USER := .Env.JIBRI_XMPP_USER | default "jibri" -}} {{ $JICOFO_AUTH_USER := .Env.JICOFO_AUTH_USER | default "focus" -}} +{{ $JIGASI_XMPP_USER := .Env.JIGASI_XMPP_USER | default "jigasi" -}} {{ $JVB_AUTH_USER := .Env.JVB_AUTH_USER | default "jvb" -}} {{ $JWT_ASAP_KEYSERVER := .Env.JWT_ASAP_KEYSERVER | default "" }} {{ $JWT_ALLOW_EMPTY := .Env.JWT_ALLOW_EMPTY | default "0" | toBool }} @@ -33,6 +35,14 @@ {{ $PROSODY_RESERVATION_REST_BASE_URL := .Env.PROSODY_RESERVATION_REST_BASE_URL | default "" }} admins = { + {{ if .Env.JIGASI_XMPP_PASSWORD }} + "{{ $JIGASI_XMPP_USER }}@{{ $XMPP_AUTH_DOMAIN }}", + {{ end }} + + {{ if .Env.JIBRI_XMPP_PASSWORD }} + "{{ $JIBRI_XMPP_USER }}@{{ $XMPP_AUTH_DOMAIN }}", + {{ end }} + "{{ $JICOFO_AUTH_USER }}@{{ $XMPP_AUTH_DOMAIN }}", "{{ $JVB_AUTH_USER }}@{{ $XMPP_AUTH_DOMAIN }}" }