Ajout de l'adresse d'écoute du service
This commit is contained in:
parent
5ec30db14a
commit
8ddaa4285b
|
@ -22,7 +22,7 @@ fi
|
||||||
# FAIL if pod exists
|
# FAIL if pod exists
|
||||||
ensure_pod_not_exists ${pod_name}
|
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} \
|
podman run -d --name ${db_container_name} --pod ${pod_name} \
|
||||||
--mount type=volume,src=${dbvolume},dst=/var/lib/postgresql/data/ \
|
--mount type=volume,src=${dbvolume},dst=/var/lib/postgresql/data/ \
|
||||||
-e POSTGRES_PASSWORD=${GARBAYE_MATRIX_POSTGRES_PASSWORD} \
|
-e POSTGRES_PASSWORD=${GARBAYE_MATRIX_POSTGRES_PASSWORD} \
|
||||||
|
|
|
@ -12,6 +12,7 @@ confvolume='matrixdotorg_synapse-data'
|
||||||
dbvolume='matrixdotorg_synapse-pgsql'
|
dbvolume='matrixdotorg_synapse-pgsql'
|
||||||
container_name='synapse'
|
container_name='synapse'
|
||||||
db_container_name='synapse-db'
|
db_container_name='synapse-db'
|
||||||
|
listen_if='127.0.0.1'
|
||||||
GARBAYE_MATRIX_DOMAIN="${GARBAYE_MATRIX_DOMAIN:-garbaye.fr}"
|
GARBAYE_MATRIX_DOMAIN="${GARBAYE_MATRIX_DOMAIN:-garbaye.fr}"
|
||||||
GARBAYE_MATRIX_URL="${GARBAYE_MATRIX_URL:-https://matrix.garbaye.fr}"
|
GARBAYE_MATRIX_URL="${GARBAYE_MATRIX_URL:-https://matrix.garbaye.fr}"
|
||||||
envvars='GARBAYE_MATRIX_POSTGRES_PASSWORD GARBAYE_MATRIX_DOMAIN GARBAYE_MATRIX_URL'
|
envvars='GARBAYE_MATRIX_POSTGRES_PASSWORD GARBAYE_MATRIX_DOMAIN GARBAYE_MATRIX_URL'
|
||||||
|
|
Loading…
Reference in a new issue