mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Add postgres dependency on migration service
This commit is contained in:
parent
ea979d9663
commit
f6bb77a6a5
@ -47,6 +47,9 @@ services:
|
|||||||
context: ./back
|
context: ./back
|
||||||
dockerfile: Dockerfile.migrations
|
dockerfile: Dockerfile.migrations
|
||||||
restart: "no"
|
restart: "no"
|
||||||
|
depends_on:
|
||||||
|
postgres:
|
||||||
|
condition: service_healthy
|
||||||
env_file:
|
env_file:
|
||||||
- ./.env
|
- ./.env
|
||||||
|
|
||||||
|
@ -34,6 +34,9 @@ services:
|
|||||||
migrations:
|
migrations:
|
||||||
image: zoriya/kyoo_migrations:edge
|
image: zoriya/kyoo_migrations:edge
|
||||||
restart: "no"
|
restart: "no"
|
||||||
|
depends_on:
|
||||||
|
postgres:
|
||||||
|
condition: service_healthy
|
||||||
env_file:
|
env_file:
|
||||||
- ./.env
|
- ./.env
|
||||||
|
|
||||||
|
@ -35,6 +35,9 @@ services:
|
|||||||
context: ./back
|
context: ./back
|
||||||
dockerfile: Dockerfile.migrations
|
dockerfile: Dockerfile.migrations
|
||||||
restart: "no"
|
restart: "no"
|
||||||
|
depends_on:
|
||||||
|
postgres:
|
||||||
|
condition: service_healthy
|
||||||
env_file:
|
env_file:
|
||||||
- ./.env
|
- ./.env
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user