Fix docker compose postgres healthcheck

This commit is contained in:
Zoe Roux 2023-04-05 01:47:27 +09:00
parent 8f22785d2f
commit 9e250e6129
3 changed files with 6 additions and 3 deletions

View File

@ -11,7 +11,8 @@ services:
env_file:
- ./.env
depends_on:
- postgres
postgres:
condition: service_healthy
volumes:
- ./back:/app
- /app/out/

View File

@ -7,7 +7,8 @@ services:
env_file:
- ./.env
depends_on:
- postgres
postgres:
condition: service_healthy
volumes:
- kyoo:/kyoo
- ./cache:/kyoo/cached

View File

@ -7,7 +7,8 @@ services:
env_file:
- ./.env
depends_on:
- postgres
postgres:
condition: service_healthy
volumes:
- kyoo:/kyoo
- ./cache:/kyoo/cached