From 525bc7c451f0b9d8e59915410655c2dc893268c0 Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Mon, 30 Sep 2024 16:23:46 -0400 Subject: [PATCH] fix: reference service should wait for db to start --- lib/reference/docker-compose.reference.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/reference/docker-compose.reference.yaml b/lib/reference/docker-compose.reference.yaml index 165bbca1..163af4e6 100644 --- a/lib/reference/docker-compose.reference.yaml +++ b/lib/reference/docker-compose.reference.yaml @@ -7,6 +7,9 @@ services: - reference-db-net expose: - ${BENTO_REFERENCE_INTERNAL_PORT} + depends_on: + reference-db: + condition: service_healthy environment: - BENTO_UID - BENTO_DEBUG=False