From 892ae0fa66e2dd24ea9675612429799b1fe3f5a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= Date: Sat, 18 Sep 2021 20:57:09 +0200 Subject: [PATCH] ajout d'une variable d'environnement pour surcharger DOCKER_HOST_ADDRESS --- podman-jitsi/10_install.sh | 2 +- podman-jitsi/vars.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/podman-jitsi/10_install.sh b/podman-jitsi/10_install.sh index 8c1d9dc..11831e3 100755 --- a/podman-jitsi/10_install.sh +++ b/podman-jitsi/10_install.sh @@ -27,7 +27,7 @@ sed_in_place "^HTTP_PORT=8000" "HTTP_PORT=8085" .env sed_in_place "^HTTPS_PORT=8443" "#HTTPS_PORT=8443" .env sed_in_place "^TZ=UTC" "TZ=Europe/Paris" .env sed_in_place "^#PUBLIC_URL=https://meet.example.com" "PUBLIC_URL=${GARBAYE_JITSI_URL}" .env -sed_in_place "^#DOCKER_HOST_ADDRESS=192.168.1.1" "DOCKER_HOST_ADDRESS=192.168.128.10" .env +sed_in_place "^#DOCKER_HOST_ADDRESS=192.168.1.1" "DOCKER_HOST_ADDRESS=${GARBAYE_JITSI_PRIV_IP}" .env sed_in_place "^#ENABLE_LETSENCRYPT=1" "ENABLE_LETSENCRYPT=0" .env sed_in_place "^#ENABLE_AUTH=1" "ENABLE_AUTH=0" .env sed_in_place "^XMPP_SERVER=xmpp.meet.jitsi" "XMPP_SERVER=prosody" .env diff --git a/podman-jitsi/vars.sh b/podman-jitsi/vars.sh index da49d12..44f96c9 100644 --- a/podman-jitsi/vars.sh +++ b/podman-jitsi/vars.sh @@ -6,3 +6,4 @@ upstream_images="docker.io/jitsi/jvb docker.io/jitsi/jicofo docker.io/jitsi/pros version='stable-6173' confvolume='.jitsi-meet-cfg' GARBAYE_JITSI_URL="${GARBAYE_JITSI_ENV_URL:-https://jitsi.garbaye.fr}" +GARBAYE_JITSI_PRIV_IP="${GARBAYE_JITSI_ENV_PRIV_IP:-192.168.128.10}"