matrix/synapse : incoherences residuelles
This commit is contained in:
parent
d10cb82e24
commit
9ae72ed6fc
|
@ -15,8 +15,9 @@ if podman volume exists ${confvolume} || podman volume exists ${dbvolume}; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
podman image pull ${synapse_image}:${synapse_version} &&
|
||||
podman image exists ${synapse_image}:${synapse_version} &&
|
||||
if ! podman image exists ${synapse_image}:${synapse_version}; then
|
||||
podman image pull ${synapse_image}:${synapse_version} || exit 1
|
||||
fi
|
||||
podman volume create ${confvolume} &&
|
||||
podman volume create ${dbvolume} &&
|
||||
podman container run -it --name ${container_name}-generate --mount type=volume,src=${confvolume},dst=/data -e SYNAPSE_SERVER_NAME=${GARBAYE_MATRIX_DOMAIN} -e SYNAPSE_REPORT_STATS=no ${synapse_image}:${synapse_version} generate &&
|
||||
|
|
|
@ -20,7 +20,7 @@ if ! podman volume exists ${dbvolume} ; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if ! podman image pull ${synapse_image}:${synapse_version}; then
|
||||
if ! podman image exists ${synapse_image}:${synapse_version}; then
|
||||
podman image pull ${synapse_image}:${synapse_version} || exit 1
|
||||
fi
|
||||
podman image pull ${postgres_image}:${postgres_version} &&
|
||||
|
|
Loading…
Reference in a new issue