mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Merge pull request #12765 from appwrite/fix/remove-doctor-healthcheck
Replace doctor healthcheck with HTTP health endpoint check
This commit is contained in:
1 file changed
+3
-2
+3
-2
@@ -43,11 +43,12 @@ services:
|
||||
image: ${_APP_IMAGE:-appwrite/appwrite}:${_APP_VERSION:-latest}
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- doctor
|
||||
- CMD-SHELL
|
||||
- 'curl -fsS -o /dev/null -H "Host: $${_APP_DOMAIN:-localhost}" http://localhost/v1/health/version'
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 120s
|
||||
networks:
|
||||
- appwrite
|
||||
labels:
|
||||
|
||||
Reference in new issue
Block a user