Migration framadate podman 4.1

This commit is contained in:
KsmoinO 2022-11-05 18:23:21 +01:00
parent c1c6e40e50
commit 5d1b03e02e
3 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@ export listen_port
podman pull ${framadate_image}:${framadate_version}
podman pull docker.io/library/php:7-apache &&
podman pull docker.io/library/mysql:5.7 &&
podman-compose up -d &&
podman-compose --pod-args "--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra" up -d &&
echo -n "Waiting for initialization to end... " &&
( podman logs -f framadate-app 2>&1 & ) | grep -q 'configured -- resuming normal operations' &&
echo "OK" &&

View file

@ -12,7 +12,7 @@ GARBAYE_FRAMADATE_ADMIN_MAIL="${GARBAYE_FRAMADATE_ENV_ADMIN_MAIL:-contact-framad
envvars='GARBAYE_FRAMADATE_ADMIN_PASSWORD GARBAYE_FRAMADATE_MYSQL_ROOT_PASSWORD GARBAYE_FRAMADATE_MYSQL_PASSWORD'
## internal vars : do not touch
project_name=${PWD##*/}
pod_name="${project_name}"
pod_name="pod_${project_name}"
service_name="pod-${pod_name}.service"
get_default_iface_ipv4 GARBAYE_FRAMADATE_SMTP_SERVER
upstream_images="${framadate_image} localhost/framadate-app docker.io/library/composer docker.io/library/mysql docker.io/library/php docker.io/library/composer"

View file

@ -65,7 +65,7 @@ export listen_port
# podman-compose 0.1.x + podman 4.0
#podman-compose --podman-run-args "--env-file .env" up -d &&
# podman-compose 1.0.4 (devel) + podman 4.1+
podman-compose --pod-args "--infra=true --infra-name=podman-jitsi_infra --share=" --podman-run-args "--requires=podman-jitsi_infra --env-file .env" up -d &&
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 logs --tail=3 -f podman-jitsi_web_1 2>&1 & ) | grep -q '^\[services.d\] done.$' &&