jicofo seems to work

This commit is contained in:
Quentin 2020-03-22 18:14:16 +01:00
parent cef60898b5
commit 51b656e937
4 changed files with 7 additions and 1 deletions

View file

@ -7,6 +7,7 @@ services:
- "5347:5347" - "5347:5347"
- "5280:5280" - "5280:5280"
env_file: [ 'dev.env' ] env_file: [ 'dev.env' ]
volumes: [ './jitsi-certs/:/certs:ro' ]
jitsi-front: jitsi-front:
build: ./jitsi-front build: ./jitsi-front
ports: ports:
@ -15,3 +16,4 @@ services:
jitsi-conference-focus: jitsi-conference-focus:
build: ./jitsi-conference-focus build: ./jitsi-conference-focus
env_file: [ 'dev.env' ] env_file: [ 'dev.env' ]
volumes: [ './jitsi-certs/:/certs:ro' ]

View file

@ -14,7 +14,7 @@ RUN cd jicofo && \
FROM debian:buster FROM debian:buster
RUN apt-get update && \ 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 --from=builder /srv/jicofo /srv/jicofo
COPY jicofo /usr/local/bin/jicofo COPY jicofo /usr/local/bin/jicofo

View file

@ -1,5 +1,8 @@
#!/bin/bash #!/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 \ /srv/jicofo/jicofo.sh \
--host=${JITSI_PROSODY_HOST} \ --host=${JITSI_PROSODY_HOST} \
--domain=jitsi.deuxfleurs.fr \ --domain=jitsi.deuxfleurs.fr \

View file

@ -2,6 +2,7 @@
/usr/local/bin/xmpp_conf /usr/local/bin/xmpp_conf
cp ${JITSI_CERTS_FOLDER}/* /var/lib/prosody/ cp ${JITSI_CERTS_FOLDER}/* /var/lib/prosody/
chown -R prosody:prosody /var/lib/prosody
mkdir -p /usr/local/share/ca-certificates/ mkdir -p /usr/local/share/ca-certificates/
ln -sf \ ln -sf \