aboutsummaryrefslogtreecommitdiff
path: root/app/build/jitsi-xmpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/build/jitsi-xmpp')
-rw-r--r--app/build/jitsi-xmpp/Dockerfile4
-rwxr-xr-xapp/build/jitsi-xmpp/xmpp_conf2
2 files changed, 5 insertions, 1 deletions
diff --git a/app/build/jitsi-xmpp/Dockerfile b/app/build/jitsi-xmpp/Dockerfile
index 3733d49..f3dcd36 100644
--- a/app/build/jitsi-xmpp/Dockerfile
+++ b/app/build/jitsi-xmpp/Dockerfile
@@ -1,7 +1,9 @@
FROM debian:buster
+ARG VERSION
+
RUN apt-get update && \
- apt-get install -y prosody
+ apt-get install -y prosody=${VERSION}
COPY external_components.cfg.lua /etc/prosody/conf.d/external_components.cfg.lua
COPY xmpp_conf /usr/local/bin/xmpp_conf
diff --git a/app/build/jitsi-xmpp/xmpp_conf b/app/build/jitsi-xmpp/xmpp_conf
index 5990d07..34b2cb3 100755
--- a/app/build/jitsi-xmpp/xmpp_conf
+++ b/app/build/jitsi-xmpp/xmpp_conf
@@ -7,6 +7,8 @@ EOF
mkdir -p /etc/prosody/conf.{d,avail}/
cat > /etc/prosody/conf.avail/jitsi.deuxfleurs.fr.cfg.lua <<EOF
+http_ports = { ${JITSI_PROSODY_BOSH_PORT} }
+
VirtualHost "jitsi.deuxfleurs.fr"
authentication = "anonymous"
ssl = {