wait for a healthy postgres before trying to start apps

This commit is contained in:
Matthew Hodgson
2024-11-05 16:26:46 +00:00
parent 827c09394c
commit f91265addf

View File

@@ -151,7 +151,7 @@ services:
redis:
condition: service_started
postgres:
condition: service_started
condition: service_healthy
init:
condition: service_completed_successfully
@@ -214,7 +214,7 @@ services:
command: "server --config=/data/config.yaml"
depends_on:
postgres:
condition: service_started
condition: service_healthy
init:
condition: service_completed_successfully