Framadate : pull images before compose
This commit is contained in:
parent
e314570a6b
commit
edb1990130
|
@ -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 &&
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue