ajout d'une variable d'environnement pour surcharger DOCKER_HOST_ADDRESS

This commit is contained in:
Loïc 2021-09-18 20:57:09 +02:00
parent 28d05cf39f
commit 892ae0fa66
2 changed files with 2 additions and 1 deletions

View file

@ -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 "^HTTPS_PORT=8443" "#HTTPS_PORT=8443" .env
sed_in_place "^TZ=UTC" "TZ=Europe/Paris" .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 "^#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_LETSENCRYPT=1" "ENABLE_LETSENCRYPT=0" .env
sed_in_place "^#ENABLE_AUTH=1" "ENABLE_AUTH=0" .env sed_in_place "^#ENABLE_AUTH=1" "ENABLE_AUTH=0" .env
sed_in_place "^XMPP_SERVER=xmpp.meet.jitsi" "XMPP_SERVER=prosody" .env sed_in_place "^XMPP_SERVER=xmpp.meet.jitsi" "XMPP_SERVER=prosody" .env

View file

@ -6,3 +6,4 @@ upstream_images="docker.io/jitsi/jvb docker.io/jitsi/jicofo docker.io/jitsi/pros
version='stable-6173' version='stable-6173'
confvolume='.jitsi-meet-cfg' confvolume='.jitsi-meet-cfg'
GARBAYE_JITSI_URL="${GARBAYE_JITSI_ENV_URL:-https://jitsi.garbaye.fr}" GARBAYE_JITSI_URL="${GARBAYE_JITSI_ENV_URL:-https://jitsi.garbaye.fr}"
GARBAYE_JITSI_PRIV_IP="${GARBAYE_JITSI_ENV_PRIV_IP:-192.168.128.10}"