[jitsi] Allow multiple JVBs to connect in JITSI_SCALE=client

This commit is contained in:
Bernhard "bero" Rosenkränzer (Boggins) 2024-11-04 22:15:18 +01:00
parent 3531f9daf6
commit 81bbc5e4bc

View File

@ -816,7 +816,12 @@ uninstall_jitsi() {
start_jitsi() { start_jitsi() {
# Start service with command to make sure it's up before proceeding # Start service with command to make sure it's up before proceeding
start_service "jitsi" "nc -z 192.168.0.25 443 &> /dev/null" "8" start_service "jitsi" "nc -z 192.168.0.25 443 &> /dev/null" "8"
# Allow multiple JVBs to connect
if [ "$JITSI_SCALE" = "client" ]; then
for i in $(seq 1 10); do
docker exec -ti jitsi-prosody-1 prosodyctl --config /config/prosody.cfg.lua register jvb$i auth.jitsiscale.federated.computer J17515cAl3-jvb
done
fi
echo -ne "done." echo -ne "done."
} }
configsso_jitsi() { configsso_jitsi() {