From 8fe3a046a480cf4ea8e19228d408265c279eeff9 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sun, 22 Mar 2020 19:47:10 +0100 Subject: [PATCH] WIP videobridge --- docker/jitsi/02_run.yml | 8 ++++++++ docker/jitsi/dev.env | 2 ++ docker/jitsi/jitsi-conference-focus/jicofo | 4 ++++ docker/jitsi/jitsi-videobridge/Dockerfile | 8 +++++++- docker/jitsi/jitsi-videobridge/jvb_run | 22 ++++++++++++++++++++++ docker/jitsi/jitsi-xmpp/xmpp_conf | 4 ++++ 6 files changed, 47 insertions(+), 1 deletion(-) create mode 100755 docker/jitsi/jitsi-videobridge/jvb_run diff --git a/docker/jitsi/02_run.yml b/docker/jitsi/02_run.yml index 62c468d..297682c 100644 --- a/docker/jitsi/02_run.yml +++ b/docker/jitsi/02_run.yml @@ -18,3 +18,11 @@ services: build: ./jitsi-conference-focus env_file: [ 'dev.env' ] volumes: [ './jitsi-certs/:/certs:ro' ] + jitsi-videobridge: + build: ./jitsi-videobridge + ports: + - "4443:4443" + - "10000:10000/udp" + env_file: [ 'dev.env' ] + volumes: [ './jitsi-certs/:/certs:ro' ] + diff --git a/docker/jitsi/dev.env b/docker/jitsi/dev.env index 6fe8ed1..cebe2a7 100644 --- a/docker/jitsi/dev.env +++ b/docker/jitsi/dev.env @@ -5,3 +5,5 @@ JITSI_PROSODY_BOSH_PORT=5280 JITSI_PROSODY_BOSH_HOST=172.17.0.1 JITSI_PROSODY_HOST=172.17.0.1 JITSI_CERTS_FOLDER=/certs/ +JITSI_NAT_PUBLIC_IP=77.204.7.239 +JITSI_NAT_LOCAL_IP=192.168.0.18 diff --git a/docker/jitsi/jitsi-conference-focus/jicofo b/docker/jitsi/jitsi-conference-focus/jicofo index 30fc870..88ea76c 100755 --- a/docker/jitsi/jitsi-conference-focus/jicofo +++ b/docker/jitsi/jitsi-conference-focus/jicofo @@ -3,6 +3,10 @@ cp ${JITSI_CERTS_FOLDER}/auth.jitsi.deuxfleurs.fr.crt /usr/local/share/ca-certificates/auth.jitsi.deuxfleurs.fr.crt update-ca-certificates -f +cat >> /etc/hosts <> /etc/hosts < ~/.sip-communicator/sip-communicator.properties <> /etc/hosts < /etc/prosody/conf.avail/jitsi.deuxfleurs.fr.cfg.lua <