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
|
||||
dockerfile: Dockerfile.migrations
|
||||
restart: "no"
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
env_file:
|
||||
- ./.env
|
||||
|
||||
|
@ -34,6 +34,9 @@ services:
|
||||
migrations:
|
||||
image: zoriya/kyoo_migrations:edge
|
||||
restart: "no"
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
env_file:
|
||||
- ./.env
|
||||
|
||||
|
@ -35,6 +35,9 @@ services:
|
||||
context: ./back
|
||||
dockerfile: Dockerfile.migrations
|
||||
restart: "no"
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
env_file:
|
||||
- ./.env
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user