Framadate : store to registry (8)

This commit is contained in:
Gitouche 2022-08-16 21:35:56 +02:00
parent 431fa1b036
commit 45437510a1

View file

@ -26,6 +26,8 @@ SMTP_SERVER=${GARBAYE_FRAMADATE_SMTP_SERVER}
EOT EOT
export framadate_image
export framadate_version
export listen_if export listen_if
export listen_port export listen_port
@ -33,6 +35,8 @@ podman pull ${framadate_image}:${framadate_version}
podman pull docker.io/library/php:7-apache && podman pull docker.io/library/php:7-apache &&
podman pull docker.io/library/mysql:5.7 && podman pull docker.io/library/mysql:5.7 &&
podman-compose up -d && podman-compose up -d &&
echo -n "Waiting for initialization to end... " &&
( podman logs -f framadate-app 2>&1 & ) | grep -q 'configured -- resuming normal operations' && ( podman logs -f framadate-app 2>&1 & ) | grep -q 'configured -- resuming normal operations' &&
echo "OK" &&
shred -u .env && shred -u .env &&
podman pod stop ${pod_name} podman pod stop ${pod_name}