forked from Deuxfleurs/infrastructure
Add tags and hostname
This commit is contained in:
parent
8fe3a046a4
commit
a95017cf1e
6 changed files with 19 additions and 2 deletions
|
@ -2,6 +2,8 @@ version: '3'
|
||||||
services:
|
services:
|
||||||
jitsi-xmpp:
|
jitsi-xmpp:
|
||||||
build: ./jitsi-xmpp
|
build: ./jitsi-xmpp
|
||||||
|
image: superboum/amd64_jitsi_xmpp:v1
|
||||||
|
network_mode: host
|
||||||
ports:
|
ports:
|
||||||
- "5222:5222"
|
- "5222:5222"
|
||||||
- "5347:5347"
|
- "5347:5347"
|
||||||
|
@ -10,16 +12,22 @@ services:
|
||||||
volumes: [ './jitsi-certs/:/certs:ro' ]
|
volumes: [ './jitsi-certs/:/certs:ro' ]
|
||||||
jitsi-front:
|
jitsi-front:
|
||||||
build: ./jitsi-front
|
build: ./jitsi-front
|
||||||
|
image: superboum/amd64_jitsi_front:v1
|
||||||
|
network_mode: host
|
||||||
ports:
|
ports:
|
||||||
- "443:443"
|
- "443:443"
|
||||||
env_file: [ 'dev.env' ]
|
env_file: [ 'dev.env' ]
|
||||||
volumes: [ './jitsi-certs/:/certs:ro' ]
|
volumes: [ './jitsi-certs/:/certs:ro' ]
|
||||||
jitsi-conference-focus:
|
jitsi-conference-focus:
|
||||||
build: ./jitsi-conference-focus
|
build: ./jitsi-conference-focus
|
||||||
|
image: superboum/amd64_jitsi_conference_focus:v1
|
||||||
|
network_mode: host
|
||||||
env_file: [ 'dev.env' ]
|
env_file: [ 'dev.env' ]
|
||||||
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:v1
|
||||||
|
network_mode: host
|
||||||
ports:
|
ports:
|
||||||
- "4443:4443"
|
- "4443:4443"
|
||||||
- "10000:10000/udp"
|
- "10000:10000/udp"
|
||||||
|
|
|
@ -18,3 +18,9 @@ To run the stack:
|
||||||
```
|
```
|
||||||
docker-compose -f 02_run.yml up --force-recreate
|
docker-compose -f 02_run.yml up --force-recreate
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To push the stack on the docker registry:
|
||||||
|
|
||||||
|
```
|
||||||
|
docker-compose -f 02_run.yml push
|
||||||
|
```
|
||||||
|
|
|
@ -2,8 +2,8 @@ JITSI_SECRET_VIDEOBRIDGE=S3CR3T01
|
||||||
JITSI_SECRET_JICOFO_COMPONENT=S3CR3T02
|
JITSI_SECRET_JICOFO_COMPONENT=S3CR3T02
|
||||||
JITSI_SECRET_JICOFO_USER=S3CR3T03
|
JITSI_SECRET_JICOFO_USER=S3CR3T03
|
||||||
JITSI_PROSODY_BOSH_PORT=5280
|
JITSI_PROSODY_BOSH_PORT=5280
|
||||||
JITSI_PROSODY_BOSH_HOST=172.17.0.1
|
JITSI_PROSODY_BOSH_HOST=127.0.0.1
|
||||||
JITSI_PROSODY_HOST=172.17.0.1
|
JITSI_PROSODY_HOST=127.0.0.1
|
||||||
JITSI_CERTS_FOLDER=/certs/
|
JITSI_CERTS_FOLDER=/certs/
|
||||||
JITSI_NAT_PUBLIC_IP=77.204.7.239
|
JITSI_NAT_PUBLIC_IP=77.204.7.239
|
||||||
JITSI_NAT_LOCAL_IP=192.168.0.18
|
JITSI_NAT_LOCAL_IP=192.168.0.18
|
||||||
|
|
|
@ -5,6 +5,7 @@ update-ca-certificates -f
|
||||||
|
|
||||||
cat >> /etc/hosts <<EOF
|
cat >> /etc/hosts <<EOF
|
||||||
${JITSI_PROSODY_HOST} jitsi.deuxfleurs.fr conference.jitsi.deuxfleurs.fr jitsi-videobridge.jitsi.deuxfleurs.fr focus.jitsi.deuxfleurs.fr auth.jitsi.deuxfleurs.fr
|
${JITSI_PROSODY_HOST} jitsi.deuxfleurs.fr conference.jitsi.deuxfleurs.fr jitsi-videobridge.jitsi.deuxfleurs.fr focus.jitsi.deuxfleurs.fr auth.jitsi.deuxfleurs.fr
|
||||||
|
127.0.0.1 `hostname`
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
/srv/jicofo/jicofo.sh \
|
/srv/jicofo/jicofo.sh \
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
cat >> /etc/hosts <<EOF
|
cat >> /etc/hosts <<EOF
|
||||||
${JITSI_PROSODY_HOST} jitsi.deuxfleurs.fr conference.jitsi.deuxfleurs.fr jitsi-videobridge.jitsi.deuxfleurs.fr focus.jitsi.deuxfleurs.fr auth.jitsi.deuxfleurs.fr
|
${JITSI_PROSODY_HOST} jitsi.deuxfleurs.fr conference.jitsi.deuxfleurs.fr jitsi-videobridge.jitsi.deuxfleurs.fr focus.jitsi.deuxfleurs.fr auth.jitsi.deuxfleurs.fr
|
||||||
|
127.0.0.1 `hostname`
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cd /srv/jvb
|
cd /srv/jvb
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
cat >> /etc/hosts <<EOF
|
cat >> /etc/hosts <<EOF
|
||||||
${JITSI_PROSODY_HOST} jitsi.deuxfleurs.fr conference.jitsi.deuxfleurs.fr jitsi-videobridge.jitsi.deuxfleurs.fr focus.jitsi.deuxfleurs.fr auth.jitsi.deuxfleurs.fr
|
${JITSI_PROSODY_HOST} jitsi.deuxfleurs.fr conference.jitsi.deuxfleurs.fr jitsi-videobridge.jitsi.deuxfleurs.fr focus.jitsi.deuxfleurs.fr auth.jitsi.deuxfleurs.fr
|
||||||
|
127.0.0.1 `hostname`
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
mkdir -p /etc/prosody/conf.{d,avail}/
|
mkdir -p /etc/prosody/conf.{d,avail}/
|
||||||
|
|
Loading…
Reference in a new issue