fix podman-compose + python (4/x)
This commit is contained in:
parent
e0041d998c
commit
180142bfe9
|
@ -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" &&
|
||||
|
|
Loading…
Reference in a new issue