Framadate : pull images before compose

This commit is contained in:
Gitouche 2022-02-25 13:36:19 +01:00
parent e314570a6b
commit edb1990130
2 changed files with 3 additions and 1 deletions

View file

@ -30,6 +30,8 @@ export framadate_release
export listen_if export listen_if
export listen_port export listen_port
podman pull docker.io/library/php:7-apache &&
podman pull docker.io/library/mysql:5.7 &&
podman-compose up -d && podman-compose up -d &&
( 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' &&
shred -u .env && shred -u .env &&

View file

@ -19,7 +19,7 @@ services:
context: . context: .
args: args:
version: "$framadate_release" version: "$framadate_release"
image: "framadate-app:${framadate_release}" image: "localhost/framadate-app:${framadate_release}"
depends_on: depends_on:
- db - db
ports: ports: