From 6637629045591df04ec32fa85b9db921587cb20a Mon Sep 17 00:00:00 2001 From: takatost Date: Sun, 10 Sep 2023 12:07:20 +0800 Subject: [PATCH] fix: remove the deprecated depends_on.condition format (#1142) --- docker/docker-compose.yaml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 572f0bc3f..8a6f08675 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -114,12 +114,9 @@ services: # The sample rate for Sentry profiles. Default: `1.0` SENTRY_PROFILES_SAMPLE_RATE: 1.0 depends_on: - db: - condition: service_healthy - redis: - condition: service_healthy - weaviate: - condition: service_started + - db + - redis + - weaviate volumes: # Mount the storage directory to the container, for storing user files. - ./volumes/app/storage:/app/api/storage @@ -170,12 +167,9 @@ services: # the api-key for resend (https://resend.com) RESEND_API_KEY: '' depends_on: - db: - condition: service_healthy - redis: - condition: service_healthy - weaviate: - condition: service_started + - db + - redis + - weaviate volumes: # Mount the storage directory to the container, for storing user files. - ./volumes/app/storage:/app/api/storage