matrix : dont wait for DB
This commit is contained in:
parent
ea11b013a2
commit
d33b44a160
|
@ -35,9 +35,6 @@ podman container run -d --name ${db_container_name} --pod ${pod_name} --requires
|
|||
-e POSTGRES_DB=${container_name} \
|
||||
-e POSTGRES_INITDB_ARGS="--encoding=UTF8 --locale=C" \
|
||||
${postgres_image}:${postgres_version} &&
|
||||
echo -n "Waiting for PostgreSQL to be ready... " &&
|
||||
( podman container logs -f ${db_container_name} 2>&1 & ) | grep -q 'database system is ready to accept connections' &&
|
||||
echo "OK." &&
|
||||
podman container run -d --name ${container_name} --pod ${pod_name} --requires=${project_name}_infra --net ${project_name}_default \
|
||||
--mount type=volume,src=${confvolume},dst=/data --publish ${listen_if}:${listen_port}:8008 ${synapse_image}:${synapse_version} &&
|
||||
echo -n "Waiting for background tasks to end... " &&
|
||||
|
|
Loading…
Reference in a new issue