From 7c4cef0f9c684a8d29cceb5991d9aab3f6702d84 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 2 Apr 2020 20:24:50 +0200 Subject: [PATCH] Try to improve Jitsi --- docker/jitsi/02_run.yml | 4 ++-- docker/jitsi/dev.env | 1 + docker/jitsi/jitsi-front/Dockerfile | 8 +++++++- docker/jitsi/jitsi-videobridge/jvb_run | 13 ++++++++++++- nomad/jitsi.hcl | 6 +++++- 5 files changed, 27 insertions(+), 5 deletions(-) diff --git a/docker/jitsi/02_run.yml b/docker/jitsi/02_run.yml index 018fcb7..3d37f85 100644 --- a/docker/jitsi/02_run.yml +++ b/docker/jitsi/02_run.yml @@ -12,7 +12,7 @@ services: volumes: [ './jitsi-certs/:/certs:ro' ] jitsi-front: build: ./jitsi-front - image: superboum/amd64_jitsi_front:v1 + image: superboum/amd64_jitsi_front:v2 network_mode: host ports: - "443:443" @@ -26,7 +26,7 @@ services: volumes: [ './jitsi-certs/:/certs:ro' ] jitsi-videobridge: build: ./jitsi-videobridge - image: superboum/amd64_jitsi_videobridge:v4 + image: superboum/amd64_jitsi_videobridge:v6 network_mode: host ports: - "4443:4443" diff --git a/docker/jitsi/dev.env b/docker/jitsi/dev.env index 722ca1d..9a94a81 100644 --- a/docker/jitsi/dev.env +++ b/docker/jitsi/dev.env @@ -7,3 +7,4 @@ JITSI_PROSODY_HOST=127.0.0.1 JITSI_CERTS_FOLDER=/certs/ JITSI_NAT_PUBLIC_IP=77.204.7.239 JITSI_NAT_LOCAL_IP=192.168.0.18 +JITSI_VIDEO_TCP=995 diff --git a/docker/jitsi/jitsi-front/Dockerfile b/docker/jitsi/jitsi-front/Dockerfile index 239372e..21e220c 100644 --- a/docker/jitsi/jitsi-front/Dockerfile +++ b/docker/jitsi/jitsi-front/Dockerfile @@ -5,7 +5,13 @@ RUN apt-get update && \ git clone --depth=1 https://github.com/jitsi/jitsi-meet.git && \ cd jitsi-meet && \ npm install && \ - make + make && \ + sed -i \ + "s/OPTIMAL_BROWSERS: \[.*\],/ OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'nwjs', 'electron' ],/g" \ + interface_config.js && \ + sed -i \ + "s/UNSUPPORTED_BROWSERS: \[.*\],/ UNSUPPORTED_BROWSERS: [ 'firefox' ],/g" \ + interface_config.js FROM debian:buster diff --git a/docker/jitsi/jitsi-videobridge/jvb_run b/docker/jitsi/jitsi-videobridge/jvb_run index 1f55afd..64d36f2 100755 --- a/docker/jitsi/jitsi-videobridge/jvb_run +++ b/docker/jitsi/jitsi-videobridge/jvb_run @@ -11,13 +11,24 @@ cat > /root/.sip-communicator/sip-communicator.properties <> /root/.sip-communicator/sip-communicator.properties <