docker: use wget for healthcheck

This commit is contained in:
Abdullah Atta
2024-08-29 12:23:14 +05:00
parent 962b805054
commit b12eb39797
+3 -3
View File
@@ -115,7 +115,7 @@ services:
depends_on: depends_on:
- notesnook-db - notesnook-db
healthcheck: healthcheck:
test: curl --fail http://localhost:8264/health || exit 1 test: wget --tries=1 -nv -q http://localhost:8264/health -O- || exit 1
interval: 40s interval: 40s
timeout: 30s timeout: 30s
retries: 3 retries: 3
@@ -137,7 +137,7 @@ services:
- setup-s3 - setup-s3
- identity-server - identity-server
healthcheck: healthcheck:
test: curl --fail http://localhost:5264/health || exit 1 test: wget --tries=1 -nv -q http://localhost:5264/health -O- || exit 1
interval: 40s interval: 40s
timeout: 30s timeout: 30s
retries: 3 retries: 3
@@ -165,7 +165,7 @@ services:
networks: networks:
- notesnook - notesnook
healthcheck: healthcheck:
test: curl --fail http://localhost:7264/health || exit 1 test: wget --tries=1 -nv -q http://localhost:7264/health -O- || exit 1
interval: 40s interval: 40s
timeout: 30s timeout: 30s
retries: 3 retries: 3