fix podman-compose + python (2/x)
This commit is contained in:
parent
2edbc75d93
commit
be8aadfbdf
|
@ -38,7 +38,7 @@ if ! podman image exists ${framadate_image}:${framadate_version}; then
|
||||||
fi
|
fi
|
||||||
podman image pull ${mysql_image}:${mysql_version} &&
|
podman image pull ${mysql_image}:${mysql_version} &&
|
||||||
|
|
||||||
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 &&
|
${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 initialization to end... " &&
|
echo -n "Waiting for initialization to end... " &&
|
||||||
( podman container logs -f framadate-app 2>&1 & ) | grep -q 'configured -- resuming normal operations' &&
|
( podman container logs -f framadate-app 2>&1 & ) | grep -q 'configured -- resuming normal operations' &&
|
||||||
echo "OK" &&
|
echo "OK" &&
|
||||||
|
|
|
@ -57,7 +57,7 @@ fi
|
||||||
podman image pull ${postgres_image}:${postgres_version} &&
|
podman image pull ${postgres_image}:${postgres_version} &&
|
||||||
# force refresh of app.ini
|
# force refresh of app.ini
|
||||||
podman unshare rm -f `get_podman_volume_path ${datavolume}`/gitea/conf/app.ini
|
podman unshare rm -f `get_podman_volume_path ${datavolume}`/gitea/conf/app.ini
|
||||||
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 &&
|
${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 gitea to finish starting " &&
|
echo -n "Waiting for gitea to finish starting " &&
|
||||||
( podman container logs -f ${container_name} 2>&1 & ) | grep -q 'NewServer()' &&
|
( podman container logs -f ${container_name} 2>&1 & ) | grep -q 'NewServer()' &&
|
||||||
echo "OK" &&
|
echo "OK" &&
|
||||||
|
|
Loading…
Reference in a new issue