From a95017cf1e1761fef1ec029105d1c25f954741d4 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 27 Mar 2020 09:02:49 +0100 Subject: Add tags and hostname --- docker/jitsi/02_run.yml | 8 ++++++++ docker/jitsi/README.md | 6 ++++++ docker/jitsi/dev.env | 4 ++-- docker/jitsi/jitsi-conference-focus/jicofo | 1 + docker/jitsi/jitsi-videobridge/jvb_run | 1 + docker/jitsi/jitsi-xmpp/xmpp_conf | 1 + 6 files changed, 19 insertions(+), 2 deletions(-) diff --git a/docker/jitsi/02_run.yml b/docker/jitsi/02_run.yml index 297682c..af615a9 100644 --- a/docker/jitsi/02_run.yml +++ b/docker/jitsi/02_run.yml @@ -2,6 +2,8 @@ version: '3' services: jitsi-xmpp: build: ./jitsi-xmpp + image: superboum/amd64_jitsi_xmpp:v1 + network_mode: host ports: - "5222:5222" - "5347:5347" @@ -10,16 +12,22 @@ services: volumes: [ './jitsi-certs/:/certs:ro' ] jitsi-front: build: ./jitsi-front + image: superboum/amd64_jitsi_front:v1 + network_mode: host ports: - "443:443" env_file: [ 'dev.env' ] volumes: [ './jitsi-certs/:/certs:ro' ] jitsi-conference-focus: build: ./jitsi-conference-focus + image: superboum/amd64_jitsi_conference_focus:v1 + network_mode: host env_file: [ 'dev.env' ] volumes: [ './jitsi-certs/:/certs:ro' ] jitsi-videobridge: build: ./jitsi-videobridge + image: superboum/amd64_jitsi_videobridge:v1 + network_mode: host ports: - "4443:4443" - "10000:10000/udp" diff --git a/docker/jitsi/README.md b/docker/jitsi/README.md index ea90274..70b59fc 100644 --- a/docker/jitsi/README.md +++ b/docker/jitsi/README.md @@ -18,3 +18,9 @@ To run the stack: ``` docker-compose -f 02_run.yml up --force-recreate ``` + +To push the stack on the docker registry: + +``` +docker-compose -f 02_run.yml push +``` diff --git a/docker/jitsi/dev.env b/docker/jitsi/dev.env index cebe2a7..722ca1d 100644 --- a/docker/jitsi/dev.env +++ b/docker/jitsi/dev.env @@ -2,8 +2,8 @@ JITSI_SECRET_VIDEOBRIDGE=S3CR3T01 JITSI_SECRET_JICOFO_COMPONENT=S3CR3T02 JITSI_SECRET_JICOFO_USER=S3CR3T03 JITSI_PROSODY_BOSH_PORT=5280 -JITSI_PROSODY_BOSH_HOST=172.17.0.1 -JITSI_PROSODY_HOST=172.17.0.1 +JITSI_PROSODY_BOSH_HOST=127.0.0.1 +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 diff --git a/docker/jitsi/jitsi-conference-focus/jicofo b/docker/jitsi/jitsi-conference-focus/jicofo index 88ea76c..2bc6e3f 100755 --- a/docker/jitsi/jitsi-conference-focus/jicofo +++ b/docker/jitsi/jitsi-conference-focus/jicofo @@ -5,6 +5,7 @@ update-ca-certificates -f cat >> /etc/hosts <> /etc/hosts <> /etc/hosts <