fix podman-compose + python (4/x)

This commit is contained in:
Gitouche 2024-06-11 22:00:52 +02:00
parent e0041d998c
commit 180142bfe9
1 changed files with 1 additions and 6 deletions

View File

@ -20,11 +20,6 @@ if ! podman volume exists ${datavolume} ; then
exit 1
fi
#if ! podman volume exists ${uploadsvolume} ; then
# echo "Error : UPLOADS volume ${uploasvolume} does not exists. Consider running 05_freshinstall.sh if this is the first install."
# exit 1
#fi
cat <<EOT > .env
# HedgeDoc https://docs.hedgedoc.org/configuration/
## Node.JS
@ -83,7 +78,7 @@ fi
if ! podman image exists ${database_image}:${database_version}; then
podman image pull ${database_image}:${database_version} || exit 1
fi
python3.9 podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra --env-file .env" up -d &&
${my_podman_compose} --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra --env-file .env" up -d &&
echo -n "Waiting for hedgedoc to finish starting " &&
( podman container logs -f ${container_name} 2>&1 & ) | grep -q 'HTTP Server listening at ' &&
echo "OK" &&