jvb: use MUC connections for the JVB

This commit is contained in:
Saúl Ibarra Corretgé
2018-10-16 21:15:46 +02:00
parent 409f858496
commit 9bb7340f66
8 changed files with 50 additions and 10 deletions

View File

@@ -21,12 +21,16 @@ VirtualHost "{{ .Env.XMPP_AUTH_DOMAIN }}"
}
authentication = "internal_plain"
Component "{{ .Env.XMPP_INTERNAL_MUC_DOMAIN }}" "muc"
modules_enabled = {
"ping";
}
storage = "none"
muc_room_cache_size = 1000
Component "{{ .Env.XMPP_MUC_DOMAIN }}" "muc"
storage = "none"
Component "jitsi-videobridge.{{ .Env.XMPP_DOMAIN }}"
component_secret = "{{ .Env.JVB_COMPONENT_SECRET }}"
Component "focus.{{ .Env.XMPP_DOMAIN }}"
component_secret = "{{ .Env.JICOFO_COMPONENT_SECRET }}"

View File

@@ -10,7 +10,9 @@ fi
if [[ ! -f $PROSODY_CFG ]]; then
cp -r /defaults/* /config
tpl /defaults/conf.d/jitsi-meet.cfg.lua > /config/conf.d/jitsi-meet.cfg.lua
prosodyctl --config $PROSODY_CFG register $JICOFO_AUTH_USER $XMPP_AUTH_DOMAIN $JICOFO_AUTH_PASSWORD
prosodyctl --config $PROSODY_CFG register $JVB_AUTH_USER $XMPP_AUTH_DOMAIN $JVB_AUTH_PASSWORD
fi
mkdir -p /config/certs