From e7f321f9e937d44d18ae06805a88def99d7038e8 Mon Sep 17 00:00:00 2001 From: Gitouche Date: Tue, 11 Jun 2024 21:40:39 +0200 Subject: [PATCH] =?UTF-8?q?podman-compose=20:=20force=20python3.9=20pour?= =?UTF-8?q?=20compatibilit=C3=A9=20EL8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- podman-framadate/10_install.sh | 2 +- podman-gitea/10_install.sh | 2 +- podman-hedgedoc/10_install.sh | 2 +- podman-jitsi/10_install.sh | 2 +- podman-matrix/10_install.sh | 2 +- podman-seafile/10_install.sh | 2 +- podman-vaultwarden/10_install.sh | 2 +- podman-wpamapsta/10_install.sh | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/podman-framadate/10_install.sh b/podman-framadate/10_install.sh index 139f258..51442ce 100755 --- a/podman-framadate/10_install.sh +++ b/podman-framadate/10_install.sh @@ -38,7 +38,7 @@ if ! podman image exists ${framadate_image}:${framadate_version}; then fi podman image pull ${mysql_image}:${mysql_version} && -podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra --env-file .env" up -d && +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 && echo -n "Waiting for initialization to end... " && ( podman container logs -f framadate-app 2>&1 & ) | grep -q 'configured -- resuming normal operations' && echo "OK" && diff --git a/podman-gitea/10_install.sh b/podman-gitea/10_install.sh index 9929df1..6903a18 100755 --- a/podman-gitea/10_install.sh +++ b/podman-gitea/10_install.sh @@ -57,7 +57,7 @@ fi podman image pull ${postgres_image}:${postgres_version} && # force refresh of app.ini podman unshare rm -f `get_podman_volume_path ${datavolume}`/gitea/conf/app.ini -podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra --env-file .env" up -d && +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 && echo -n "Waiting for gitea to finish starting " && ( podman container logs -f ${container_name} 2>&1 & ) | grep -q 'NewServer()' && echo "OK" && diff --git a/podman-hedgedoc/10_install.sh b/podman-hedgedoc/10_install.sh index b769069..9a3684c 100755 --- a/podman-hedgedoc/10_install.sh +++ b/podman-hedgedoc/10_install.sh @@ -83,7 +83,7 @@ fi if ! podman image exists ${database_image}:${database_version}; then podman image pull ${database_image}:${database_version} || exit 1 fi -podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra --env-file .env" up -d && +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 && echo -n "Waiting for hedgedoc to finish starting " && ( podman container logs -f ${container_name} 2>&1 & ) | grep -q 'HTTP Server listening at ' && echo "OK" && diff --git a/podman-jitsi/10_install.sh b/podman-jitsi/10_install.sh index 262d758..994a9ae 100755 --- a/podman-jitsi/10_install.sh +++ b/podman-jitsi/10_install.sh @@ -67,7 +67,7 @@ echo "COLIBRI_REST_ENABLED=1" >> .env export listen_if export listen_port -podman-compose --pod-args "--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra --env-file .env" up -d && +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 && # Wait for web to be up ( podman container logs --tail=3 -f ${project_name}_web_1 2>&1 & ) | grep -q '^\[services.d\] done.$' && diff --git a/podman-matrix/10_install.sh b/podman-matrix/10_install.sh index 41877a9..0a3f456 100755 --- a/podman-matrix/10_install.sh +++ b/podman-matrix/10_install.sh @@ -38,7 +38,7 @@ if ! podman image exists ${synapse_image}:${synapse_version}; then podman image pull ${synapse_image}:${synapse_version} || exit 1 fi podman image pull ${postgres_image}:${postgres_version} && -podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra --env-file .env" up -d && +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 && end=$((SECONDS+120)) while [ $SECONDS -lt $end ]; do diff --git a/podman-seafile/10_install.sh b/podman-seafile/10_install.sh index 962f35a..8ecca10 100755 --- a/podman-seafile/10_install.sh +++ b/podman-seafile/10_install.sh @@ -41,7 +41,7 @@ if ! podman image exists ${seafile_image}:${seafile_release}; then fi podman image pull docker.io/library/memcached:${memcached_release} && podman image pull docker.io/library/mariadb:${mariadb_release} && -podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra --env-file .env" up -d && +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 && 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-vaultwarden/10_install.sh b/podman-vaultwarden/10_install.sh index 232a1a9..48c5c34 100755 --- a/podman-vaultwarden/10_install.sh +++ b/podman-vaultwarden/10_install.sh @@ -40,7 +40,7 @@ export listen_port if ! podman image exists ${service_image}:${service_version}; then podman image pull ${service_image}:${service_version} || exit 1 fi -podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra --env-file .env" up -d && +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 && echo -n "Waiting for vaultwarden to finish starting " && ( podman container logs -f ${container_name} 2>&1 & ) | grep -q 'Rocket has launched from ' && echo "OK" && diff --git a/podman-wpamapsta/10_install.sh b/podman-wpamapsta/10_install.sh index 26d1f51..92a4c4d 100755 --- a/podman-wpamapsta/10_install.sh +++ b/podman-wpamapsta/10_install.sh @@ -35,7 +35,7 @@ if ! podman image exists ${wp_image}:${wp_version}; then fi podman image pull ${mysql_image}:${mysql_version} && -podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra --env-file .env" up -d && +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 && sleep 10 # TODO : wait for healthckeck on mariadb shred -u .env && podman pod stop ${pod_name}