From 8ee4b601cf155af3293974dae4162bd04b9339f4 Mon Sep 17 00:00:00 2001 From: KsmoinO <99479-KsmoinO@users.noreply.framagit.org> Date: Sat, 5 Nov 2022 19:30:32 +0100 Subject: [PATCH] Migration matrix podman 4.1 - Fix 1/x --- podman-matrix/10_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/podman-matrix/10_install.sh b/podman-matrix/10_install.sh index 7247aaf..57420f3 100755 --- a/podman-matrix/10_install.sh +++ b/podman-matrix/10_install.sh @@ -24,7 +24,7 @@ podman image pull ${synapse_image}:${synapse_version} && podman image exists ${synapse_image}:${synapse_version} && podman pull ${postgres_image}:${postgres_version} && podman pod create --publish ${listen_if}:${listen_port}:8008 --name ${pod_name} --infra=true --infra-name=${project_name}_infra --share='' && -podman run -d --name ${db_container_name} --pod ${pod_name} --requires=${project_name}_infra \ +podman run -d --name ${db_container_name} --pod ${pod_name} --requires=${project_name}_infra --net ${project_name}_default \ --mount type=volume,src=${dbvolume},dst=/var/lib/postgresql/data/ \ -e POSTGRES_PASSWORD=${GARBAYE_MATRIX_POSTGRES_PASSWORD} \ -e POSTGRES_USER=${container_name} \ @@ -34,7 +34,7 @@ podman run -d --name ${db_container_name} --pod ${pod_name} --requires=${project echo -n "Waiting for PostgreSQL to be ready... " && ( podman logs -f synapse-db 2>&1 & ) | grep -q 'database system is ready to accept connections' && echo "OK." && -podman run -d --name ${container_name} --pod ${pod_name} --requires=${project_name}_infra \ +podman run -d --name ${container_name} --pod ${pod_name} --requires=${project_name}_infra --net ${project_name}_default \ --mount type=volume,src=${confvolume},dst=/data ${synapse_image}:${synapse_version} && echo -n "Waiting for background tasks to end... " && ( podman logs -f synapse 2>&1 & ) | grep -q 'No more background updates to do' &&