aboutsummaryrefslogtreecommitdiff
path: root/docker/jitsi/jitsi-xmpp/xmpp_conf
diff options
context:
space:
mode:
Diffstat (limited to 'docker/jitsi/jitsi-xmpp/xmpp_conf')
-rwxr-xr-xdocker/jitsi/jitsi-xmpp/xmpp_conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/jitsi/jitsi-xmpp/xmpp_conf b/docker/jitsi/jitsi-xmpp/xmpp_conf
index c7534ba..5ab4a20 100755
--- a/docker/jitsi/jitsi-xmpp/xmpp_conf
+++ b/docker/jitsi/jitsi-xmpp/xmpp_conf
@@ -1,5 +1,9 @@
#!/bin/bash
+cat >> /etc/hosts <<EOF
+${JITSI_PROSODY_HOST} jitsi.deuxfleurs.fr conference.jitsi.deuxfleurs.fr jitsi-videobridge.jitsi.deuxfleurs.fr focus.jitsi.deuxfleurs.fr auth.jitsi.deuxfleurs.fr
+EOF
+
mkdir -p /etc/prosody/conf.{d,avail}/
cat > /etc/prosody/conf.avail/jitsi.deuxfleurs.fr.cfg.lua <<EOF
VirtualHost "jitsi.deuxfleurs.fr"