From 200678630d732ece8176eb24fba3b564687a1f1e Mon Sep 17 00:00:00 2001 From: Corey Rice Date: Tue, 19 Sep 2023 09:43:38 -0300 Subject: [PATCH] ci: wait container --- docker-compose.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 4b1f603e..6095e6d4 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -15,6 +15,11 @@ services: condition: service_started postgres: condition: service_started + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:15672"] + interval: 30s + timeout: 10s + retries: 5 environment: postgres_host: postgres postgres_user: graph-node