Jitsi: varioux fixes

This commit is contained in:
Quentin 2020-03-27 23:27:52 +01:00
parent 395437ebb9
commit 53ebca75b6
4 changed files with 7 additions and 8 deletions

View file

@ -26,7 +26,7 @@ services:
volumes: [ './jitsi-certs/:/certs:ro' ] volumes: [ './jitsi-certs/:/certs:ro' ]
jitsi-videobridge: jitsi-videobridge:
build: ./jitsi-videobridge build: ./jitsi-videobridge
image: superboum/amd64_jitsi_videobridge:v3 image: superboum/amd64_jitsi_videobridge:v4
network_mode: host network_mode: host
ports: ports:
- "4443:4443" - "4443:4443"

View file

@ -14,8 +14,8 @@ RUN apt-get update && \
apt-get install -y openjdk-11-jdk apt-get install -y openjdk-11-jdk
COPY --from=builder /jvb /srv/jvb COPY --from=builder /jvb /srv/jvb
ENV HOME=/srv/jvb ENV HOME=/root
WORKDIR /srv/jvb WORKDIR /root
COPY jvb_run /usr/local/bin/jvb_run COPY jvb_run /usr/local/bin/jvb_run
CMD ["/usr/local/bin/jvb_run"] CMD ["/usr/local/bin/jvb_run"]

View file

@ -5,10 +5,9 @@ ${JITSI_PROSODY_HOST} jitsi.deuxfleurs.fr conference.jitsi.deuxfleurs.fr jitsi-v
127.0.0.1 `hostname` 127.0.0.1 `hostname`
EOF EOF
cd /srv/jvb mkdir -p /root/.sip-communicator
mkdir -p /srv/jvb/.sip-communicator
cat > /srv/jvb/.sip-communicator/sip-communicator.properties <<EOF cat > /root/.sip-communicator/sip-communicator.properties <<EOF
org.jitsi.impl.neomedia.transform.srtp.SRTPCryptoContext.checkReplay=false org.jitsi.impl.neomedia.transform.srtp.SRTPCryptoContext.checkReplay=false
# The videobridge uses 443 by default with 4443 as a fallback, but since we're already # The videobridge uses 443 by default with 4443 as a fallback, but since we're already
# running nginx on 443 in this example doc, we specify 4443 manually to avoid a race condition # running nginx on 443 in this example doc, we specify 4443 manually to avoid a race condition
@ -19,7 +18,7 @@ org.jitsi.videobridge.NAT_HARVESTER_LOCAL_ADDRESS=${JITSI_NAT_LOCAL_IP}
org.jitsi.videobridge.NAT_HARVESTER_PUBLIC_ADDRESS=${JITSI_NAT_PUBLIC_IP} org.jitsi.videobridge.NAT_HARVESTER_PUBLIC_ADDRESS=${JITSI_NAT_PUBLIC_IP}
EOF EOF
./jvb.sh \ /srv/jvb/jvb.sh \
--host=${JITSI_PROSODY_HOST} \ --host=${JITSI_PROSODY_HOST} \
--domain=jitsi.deuxfleurs.fr \ --domain=jitsi.deuxfleurs.fr \
--port=5347 \ --port=5347 \

View file

@ -189,7 +189,7 @@ job "jitsi" {
task "videobridge" { task "videobridge" {
driver = "docker" driver = "docker"
config { config {
image = "superboum/amd64_jitsi_videobridge:v3" image = "superboum/amd64_jitsi_videobridge:v4"
network_mode = "host" network_mode = "host"
port_map { port_map {
video1_port = 4443 video1_port = 4443