mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
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:
1 parent
54cc90ab27
commit
c3712f7047
1 file changed
+8
-4
+8
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user