Skip to content

Commit

Permalink
[hasura] use wget instead of curl for hasuraProxy container health check
Browse files Browse the repository at this point in the history
  • Loading branch information
freemvmt committed Dec 20, 2024
1 parent 91b16ea commit 4e37d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/application/services/hasura.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const createHasuraService = async ({
}],
healthCheck: {
// hasuraProxy health depends on hasura health
command: ["CMD-SHELL", `curl --head http://localhost:${HASURA_PROXY_PORT}/healthz || exit 1`],
command: ["CMD-SHELL", `wget --spider --quiet http://localhost:${HASURA_PROXY_PORT}/healthz || exit 1`],
interval: 15,
timeout: 3,
retries: 3,
Expand Down

0 comments on commit 4e37d08

Please sign in to comment.