mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-08-14 20:40:18 +02:00
docker: use wget for healthcheck
This commit is contained in:
+3
-3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user