diff --git a/podman-seafile/10_install.sh b/podman-seafile/10_install.sh index bce9f68..cad996c 100755 --- a/podman-seafile/10_install.sh +++ b/podman-seafile/10_install.sh @@ -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 "." diff --git a/podman-seafile/vars.sh b/podman-seafile/vars.sh index 2cb5712..0d60687 100644 --- a/podman-seafile/vars.sh +++ b/podman-seafile/vars.sh @@ -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"