chore(compose): wait for appwrite-geo healthcheck before starting appwrite

Convert the appwrite service's depends_on block to the long form so we
can require the geo container to pass its healthcheck (already defined)
before appwrite boots, instead of the default service_started which
races the geo listener and lets appwrite come up while lookups fail.
This commit is contained in:
Damodar Lohani committed 2026-07-06 02:25:29 +00:00
1 parent 54cc90ab27
commit c3712f7047
1 file changed
+8 -4
+8 -4
View File
@@ -73,10 +73,14 @@ services:
- appwrite-sites:/storage/sites:rw
- appwrite-builds:/storage/builds:rw
depends_on:
- redis
- ${_APP_DB_HOST:-mongodb}
- appwrite-embedding
- appwrite-geo
redis:
condition: service_started
${_APP_DB_HOST:-mongodb}:
condition: service_started
appwrite-embedding:
condition: service_started
appwrite-geo:
condition: service_healthy
environment:
- _APP_ENV
- _APP_EDITION