From 180142bfe9dca30e4a8560ab487cd4e6c03c96c9 Mon Sep 17 00:00:00 2001 From: Gitouche Date: Tue, 11 Jun 2024 22:00:52 +0200 Subject: [PATCH] fix podman-compose + python (4/x) --- podman-hedgedoc/10_install.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/podman-hedgedoc/10_install.sh b/podman-hedgedoc/10_install.sh index 9a3684c..36e63a0 100755 --- a/podman-hedgedoc/10_install.sh +++ b/podman-hedgedoc/10_install.sh @@ -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 < .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" &&