Matrix : pull images before compose
This commit is contained in:
parent
edb1990130
commit
d26517e001
|
@ -20,6 +20,8 @@ if ! podman volume exists ${dbvolume} ; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
podman pull ${postgres_image}:${postgres_version} &&
|
||||||
|
podman pull ${synapse_image}:${synapse_version} &&
|
||||||
podman pod create --publish ${listen_if}:${listen_port}:8008 --name ${pod_name} &&
|
podman pod create --publish ${listen_if}:${listen_port}: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/ \
|
||||||
|
|
Loading…
Reference in a new issue