From 8489d25f1ee462a2f47d8513a95c2a561353f716 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Thu, 17 Apr 2025 16:34:47 +0200 Subject: [PATCH] Use depends on --- .github/docker-compose.test.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/docker-compose.test.yml b/.github/docker-compose.test.yml index 8f506a4690..33d06a62e0 100644 --- a/.github/docker-compose.test.yml +++ b/.github/docker-compose.test.yml @@ -22,12 +22,9 @@ services: - "3000:80" volumes: - ../frontend/build:/app:ro - healthcheck: - test: wget --no-verbose --tries=1 --spider http://localhost/health || exit 1 - interval: 1s - timeout: 1m - retries: 5 - start_period: 45s + depends_on: + unleash: + condition: service_healthy unleash: image: unleashorg/unleash-enterprise:latest pull_policy: "always"