diff options
author | Quentin <quentin@deuxfleurs.fr> | 2020-12-23 15:55:17 +0100 |
---|---|---|
committer | Quentin <quentin@deuxfleurs.fr> | 2020-12-23 15:55:17 +0100 |
commit | 80dc6ec803949bbb09a8d40c80daaa9c676c0fb6 (patch) | |
tree | d2a44cf03ef3f3d9c3646846b4a7d8153181fbc9 /app/build/jitsi-xmpp | |
parent | 9117616f0250ab0ac724c6aa9a5b6d94ec7c9d92 (diff) | |
download | infrastructure-80dc6ec803949bbb09a8d40c80daaa9c676c0fb6.tar.gz infrastructure-80dc6ec803949bbb09a8d40c80daaa9c676c0fb6.zip |
Migrate jitsi
Diffstat (limited to 'app/build/jitsi-xmpp')
-rw-r--r-- | app/build/jitsi-xmpp/Dockerfile | 4 | ||||
-rwxr-xr-x | app/build/jitsi-xmpp/xmpp_conf | 2 |
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 = { |