diff options
author | Quentin <quentin@deuxfleurs.fr> | 2020-09-12 10:03:48 +0200 |
---|---|---|
committer | Quentin <quentin@deuxfleurs.fr> | 2020-09-12 10:03:48 +0200 |
commit | c4a6cf1534b864d3941c839d4a4dca7e505bd828 (patch) | |
tree | 3e866768cf39ae947def5b205f74fddfb435725d /app_integration/jitsi | |
parent | 0550647b9348d1e36431400e0832b4340564c658 (diff) | |
download | infrastructure-c4a6cf1534b864d3941c839d4a4dca7e505bd828.tar.gz infrastructure-c4a6cf1534b864d3941c839d4a4dca7e505bd828.zip |
Rebase first step
Diffstat (limited to 'app_integration/jitsi')
-rw-r--r-- | app_integration/jitsi/01_gen_certs.yml | 8 | ||||
-rw-r--r-- | app_integration/jitsi/02_run.yml | 41 | ||||
-rw-r--r-- | app_integration/jitsi/README.md | 26 | ||||
-rw-r--r-- | app_integration/jitsi/dev.env | 10 | ||||
-rw-r--r-- | app_integration/jitsi/jitsi-certs/.gitignore | 2 |
5 files changed, 87 insertions, 0 deletions
diff --git a/app_integration/jitsi/01_gen_certs.yml b/app_integration/jitsi/01_gen_certs.yml new file mode 100644 index 0000000..8c97384 --- /dev/null +++ b/app_integration/jitsi/01_gen_certs.yml @@ -0,0 +1,8 @@ +version: '3' +services: + jitsi-xmpp: + build: ./jitsi-xmpp + command: ["/usr/local/bin/xmpp_gen"] + volumes: [ './jitsi-certs/:/certs:rw' ] + env_file: [ 'dev.env' ] + diff --git a/app_integration/jitsi/02_run.yml b/app_integration/jitsi/02_run.yml new file mode 100644 index 0000000..3fc0e26 --- /dev/null +++ b/app_integration/jitsi/02_run.yml @@ -0,0 +1,41 @@ +version: '3.4' +services: + jitsi-xmpp: + build: ./jitsi-xmpp + image: superboum/amd64_jitsi_xmpp:v1 + network_mode: host + ports: + - "5222:5222" + - "5347:5347" + - "5280:5280" + env_file: [ 'dev.env' ] + volumes: [ './jitsi-certs/:/certs:ro' ] + jitsi-front: + build: + context: ./jitsi-front + network: host + #^-- I have some DNS problems on Fedora 32 in Docker + image: superboum/amd64_jitsi_front:v5 + ports: + - "443:443" + env_file: [ 'dev.env' ] + volumes: [ './jitsi-certs/:/certs:ro' ] + jitsi-conference-focus: + build: + context: ./jitsi-conference-focus + network: host + image: superboum/amd64_jitsi_conference_focus:v2 + env_file: [ 'dev.env' ] + volumes: [ './jitsi-certs/:/certs:ro' ] + jitsi-videobridge: + build: + context: ./jitsi-videobridge + network: host + image: superboum/amd64_jitsi_videobridge:v9 + network_mode: host + ports: + - "8080:8080/tcp" + - "10000:10000/udp" + env_file: [ 'dev.env' ] + volumes: [ './jitsi-certs/:/certs:ro' ] + diff --git a/app_integration/jitsi/README.md b/app_integration/jitsi/README.md new file mode 100644 index 0000000..70b59fc --- /dev/null +++ b/app_integration/jitsi/README.md @@ -0,0 +1,26 @@ +This installation is inspired by: https://github.com/jitsi/jitsi-meet/blob/master/doc/manual-install.md + +To build images: + +``` +docker-compose -f 02_run.yml build +``` + +To gen the certs: + +``` +docker-compose -f 01_gen_certs.yml up --force-recreate +``` + +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/app_integration/jitsi/dev.env b/app_integration/jitsi/dev.env new file mode 100644 index 0000000..4fff8c1 --- /dev/null +++ b/app_integration/jitsi/dev.env @@ -0,0 +1,10 @@ +JITSI_SECRET_VIDEOBRIDGE=S3CR3T01 +JITSI_SECRET_JICOFO_COMPONENT=S3CR3T02 +JITSI_SECRET_JICOFO_USER=S3CR3T03 +JITSI_PROSODY_BOSH_PORT=5280 +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 +JITSI_VIDEO_TCP=8080 diff --git a/app_integration/jitsi/jitsi-certs/.gitignore b/app_integration/jitsi/jitsi-certs/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/app_integration/jitsi/jitsi-certs/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore |