dontpull : seafile

This commit is contained in:
Gitouche 2022-11-13 14:12:01 +01:00
parent 860d3dd8ad
commit 0ea08b0dab
1 changed files with 3 additions and 2 deletions

View File

@ -35,8 +35,9 @@ export memcached_release
export listen_if
export listen_port
podman image pull ${seafile_image}:${seafile_release} &&
podman image exists ${seafile_image}:${seafile_release} &&
if ! podman image exists ${seafile_image}:${seafile_release}; then
podman image pull ${seafile_image}:${seafile_release} || exit 1
fi
podman pull docker.io/library/memcached:${memcached_release} &&
podman pull docker.io/library/mariadb:${mariadb_release} &&
podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra " up -d &&