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_port
podman pull docker.io/library/php:7-apache &&
podman pull docker.io/library/mysql:5.7 &&
podman-compose up -d &&
( podman logs -f framadate-app 2>&1 & ) | grep -q 'configured -- resuming normal operations' &&
shred -u .env &&

View File

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