Migration podman 4.1 seafile

This commit is contained in:
Gitouche 2022-11-05 18:54:20 +01:00
parent ffeb398a90
commit 9c30a21788
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ podman image pull ${seafile_image}:${seafile_release} &&
podman image exists ${seafile_image}:${seafile_release} &&
podman pull docker.io/library/memcached:${memcached_release} &&
podman pull docker.io/library/mariadb:${mariadb_release} &&
podman-compose up -d &&
podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra " up -d &&
echo -n "Waiting for seahub_settings.py " &&
while [ ! -e `get_podman_volume_path ${datavolume}`/seafile/conf/seahub_settings.py ]; do
echo -n "."

View file

@ -14,7 +14,7 @@ GARBAYE_SEAFILE_ADMIN_EMAIL="${GARBAYE_SEAFILE_ENV_ADMIN_EMAIL:-laposte-seafile@
envvars='GARBAYE_SEAFILE_MYSQL_ROOT_PASSWORD'
## internal vars : do not touch
project_name=${PWD##*/}
pod_name="${project_name}"
pod_name="pod_${project_name}"
service_name="pod-${pod_name}.service"
get_default_iface_ipv4 GARBAYE_SEAFILE_SMTP_SERVER
upstream_images="${seafile_image} docker.io/library/mariadb docker.io/library/memcached"