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