From 80dc6ec803949bbb09a8d40c80daaa9c676c0fb6 Mon Sep 17 00:00:00 2001 From: Quentin Date: Wed, 23 Dec 2020 15:55:17 +0100 Subject: Migrate jitsi --- app/config/configuration/jitsi/global_env.tpl | 10 ++++++++++ app/config/restore_configuration.sh | 7 ------- app/config/secrets/jitsi/global_env.sample | 9 --------- 3 files changed, 10 insertions(+), 16 deletions(-) create mode 100644 app/config/configuration/jitsi/global_env.tpl delete mode 100755 app/config/restore_configuration.sh delete mode 100644 app/config/secrets/jitsi/global_env.sample (limited to 'app/config') diff --git a/app/config/configuration/jitsi/global_env.tpl b/app/config/configuration/jitsi/global_env.tpl new file mode 100644 index 0000000..836a131 --- /dev/null +++ b/app/config/configuration/jitsi/global_env.tpl @@ -0,0 +1,10 @@ +JITSI_SECRET_VIDEOBRIDGE={{ key "secrets/jitsi/jitsi_secret_videobridge" }} +JITSI_SECRET_JICOFO_COMPONENT={{ key "secrets/jitsi/jitsi_secret_jicofo_component" }} +JITSI_SECRET_JICOFO_USER={{ key "secrets/jitsi/jitsi_secret_jicofo_user" }} +JITSI_PROSODY_BOSH_PORT={{ env "NOMAD_PORT_bosh_port" }} +JITSI_PROSODY_BOSH_HOST=127.0.0.1 +JITSI_PROSODY_HOST=127.0.0.1 +JITSI_CERTS_FOLDER=/secrets/certs/ +JITSI_NAT_PUBLIC_IP=82.253.205.190 +JITSI_NAT_LOCAL_IP={{ env "NOMAD_IP_video1_port" }} +NGINX_PORT={{ env "NOMAD_PORT_https_port" }} diff --git a/app/config/restore_configuration.sh b/app/config/restore_configuration.sh deleted file mode 100755 index 63d71a1..0000000 --- a/app/config/restore_configuration.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -find {configuration,secrets}/$1 -type f \ - | grep --perl-regexp --invert-match "\.sample$|\.gen$|\.gitignore|\.sh$" \ - | while read filename; do - consul kv put "${filename}" "@${filename}" - done diff --git a/app/config/secrets/jitsi/global_env.sample b/app/config/secrets/jitsi/global_env.sample deleted file mode 100644 index 658c9c9..0000000 --- a/app/config/secrets/jitsi/global_env.sample +++ /dev/null @@ -1,9 +0,0 @@ -JITSI_SECRET_VIDEOBRIDGE=redacted -JITSI_SECRET_JICOFO_COMPONENT=redacted -JITSI_SECRET_JICOFO_USER=redacted -JITSI_PROSODY_BOSH_PORT=5280 -JITSI_PROSODY_BOSH_HOST=127.0.0.1 -JITSI_PROSODY_HOST=127.0.0.1 -JITSI_CERTS_FOLDER=/secrets/certs/ -JITSI_NAT_PUBLIC_IP=redacted -JITSI_NAT_LOCAL_IP={{ env "NOMAD_IP_video1_port" }} -- cgit v1.2.3