Ajout de l'adresse d'écoute du service

This commit is contained in:
Loïc 2021-07-14 16:00:08 +02:00
parent 5ec30db14a
commit 8ddaa4285b
2 changed files with 2 additions and 1 deletions

View file

@ -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} \

View file

@ -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'