mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-06-07 13:35:15 +00:00
Add postgres dependency on migration service
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user