Migration podman 4.1 seafile
This commit is contained in:
parent
ffeb398a90
commit
9c30a21788
|
@ -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 "."
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue