From 8d5a9cf1c925cfea3095ded391a3176a48478f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Mon, 13 Jun 2022 12:37:39 +0200 Subject: [PATCH] jvb: fix not setting WS server ID --- jvb/rootfs/etc/cont-init.d/10-config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jvb/rootfs/etc/cont-init.d/10-config b/jvb/rootfs/etc/cont-init.d/10-config index f87e1fe..517e96d 100644 --- a/jvb/rootfs/etc/cont-init.d/10-config +++ b/jvb/rootfs/etc/cont-init.d/10-config @@ -11,6 +11,8 @@ if [[ "$JVB_AUTH_PASSWORD" == "$OLD_JVB_AUTH_PASSWORD" ]]; then exit 1 fi +[ -z "${XMPP_SERVER}" ] && export XMPP_SERVER=xmpp.meet.jitsi + # On environments like Swarm the IP address used by the default gateway need not be # the one used for inter-container traffic. Use that one for our fallback ID. XMPP_SERVER_IP=$(dig +short +search ${XMPP_SERVER})