From 8ddaa4285b5d7f23e58346e719078b29b2e9cbc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= Date: Wed, 14 Jul 2021 16:00:08 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20l'adresse=20d'=C3=A9coute=20du=20s?= =?UTF-8?q?ervice?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- podman-matrix/10_install.sh | 2 +- podman-matrix/vars.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/podman-matrix/10_install.sh b/podman-matrix/10_install.sh index 2581018..d216ef7 100755 --- a/podman-matrix/10_install.sh +++ b/podman-matrix/10_install.sh @@ -22,7 +22,7 @@ fi # FAIL if pod exists ensure_pod_not_exists ${pod_name} -podman pod create --publish 8086:8008 --name ${pod_name} && \ +podman pod create --publish ${listen_if}:8086:8008 --name ${pod_name} && \ podman run -d --name ${db_container_name} --pod ${pod_name} \ --mount type=volume,src=${dbvolume},dst=/var/lib/postgresql/data/ \ -e POSTGRES_PASSWORD=${GARBAYE_MATRIX_POSTGRES_PASSWORD} \ diff --git a/podman-matrix/vars.sh b/podman-matrix/vars.sh index a220e37..2d3c9ec 100644 --- a/podman-matrix/vars.sh +++ b/podman-matrix/vars.sh @@ -12,6 +12,7 @@ confvolume='matrixdotorg_synapse-data' dbvolume='matrixdotorg_synapse-pgsql' container_name='synapse' db_container_name='synapse-db' +listen_if='127.0.0.1' GARBAYE_MATRIX_DOMAIN="${GARBAYE_MATRIX_DOMAIN:-garbaye.fr}" GARBAYE_MATRIX_URL="${GARBAYE_MATRIX_URL:-https://matrix.garbaye.fr}" envvars='GARBAYE_MATRIX_POSTGRES_PASSWORD GARBAYE_MATRIX_DOMAIN GARBAYE_MATRIX_URL'