fix: remove the deprecated depends_on.condition format (#1142)

This commit is contained in:
takatost 2023-09-10 12:07:20 +08:00 committed by GitHub
parent e925b6c572
commit 6637629045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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