Skip to content

Commit

Permalink
docker: use wget for healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodrr committed Aug 29, 2024
1 parent 962b805 commit b12eb39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ services:
depends_on:
- notesnook-db
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
timeout: 30s
retries: 3
Expand All @@ -137,7 +137,7 @@ services:
- setup-s3
- identity-server
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
timeout: 30s
retries: 3
Expand Down Expand Up @@ -165,7 +165,7 @@ services:
networks:
- notesnook
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
timeout: 30s
retries: 3
Expand Down

0 comments on commit b12eb39

Please sign in to comment.