aboutsummaryrefslogtreecommitdiff
path: root/docker/jitsi
diff options
context:
space:
mode:
Diffstat (limited to 'docker/jitsi')
-rw-r--r--docker/jitsi/02_run.yml2
-rw-r--r--docker/jitsi/jitsi-conference-focus/Dockerfile2
-rwxr-xr-xdocker/jitsi/jitsi-conference-focus/jicofo3
-rwxr-xr-xdocker/jitsi/jitsi-xmpp/xmpp_run1
4 files changed, 7 insertions, 1 deletions
diff --git a/docker/jitsi/02_run.yml b/docker/jitsi/02_run.yml
index f2ec9e9..ccf1878 100644
--- a/docker/jitsi/02_run.yml
+++ b/docker/jitsi/02_run.yml
@@ -7,6 +7,7 @@ services:
- "5347:5347"
- "5280:5280"
env_file: [ 'dev.env' ]
+ volumes: [ './jitsi-certs/:/certs:ro' ]
jitsi-front:
build: ./jitsi-front
ports:
@@ -15,3 +16,4 @@ services:
jitsi-conference-focus:
build: ./jitsi-conference-focus
env_file: [ 'dev.env' ]
+ volumes: [ './jitsi-certs/:/certs:ro' ]
diff --git a/docker/jitsi/jitsi-conference-focus/Dockerfile b/docker/jitsi/jitsi-conference-focus/Dockerfile
index 7933ed9..190010e 100644
--- a/docker/jitsi/jitsi-conference-focus/Dockerfile
+++ b/docker/jitsi/jitsi-conference-focus/Dockerfile
@@ -14,7 +14,7 @@ RUN cd jicofo && \
FROM debian:buster
RUN apt-get update && \
- apt-get install -y openjdk-11-jdk
+ apt-get install -y openjdk-11-jdk ca-certificates
COPY --from=builder /srv/jicofo /srv/jicofo
COPY jicofo /usr/local/bin/jicofo
diff --git a/docker/jitsi/jitsi-conference-focus/jicofo b/docker/jitsi/jitsi-conference-focus/jicofo
index 34b5548..30fc870 100755
--- a/docker/jitsi/jitsi-conference-focus/jicofo
+++ b/docker/jitsi/jitsi-conference-focus/jicofo
@@ -1,5 +1,8 @@
#!/bin/bash
+cp ${JITSI_CERTS_FOLDER}/auth.jitsi.deuxfleurs.fr.crt /usr/local/share/ca-certificates/auth.jitsi.deuxfleurs.fr.crt
+update-ca-certificates -f
+
/srv/jicofo/jicofo.sh \
--host=${JITSI_PROSODY_HOST} \
--domain=jitsi.deuxfleurs.fr \
diff --git a/docker/jitsi/jitsi-xmpp/xmpp_run b/docker/jitsi/jitsi-xmpp/xmpp_run
index ca2b7cf..8dfdf86 100755
--- a/docker/jitsi/jitsi-xmpp/xmpp_run
+++ b/docker/jitsi/jitsi-xmpp/xmpp_run
@@ -2,6 +2,7 @@
/usr/local/bin/xmpp_conf
cp ${JITSI_CERTS_FOLDER}/* /var/lib/prosody/
+chown -R prosody:prosody /var/lib/prosody
mkdir -p /usr/local/share/ca-certificates/
ln -sf \