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'