Skip to content

Commit

Permalink
Improve the health check for BTC
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreb committed Sep 30, 2023
1 parent 7346be0 commit 28c8207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/BTC/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ services:
mem_limit: 8192m
cpus: 2.000
healthcheck:
test: curl --fail http://localhost:37220/api/Node/status || exit 1
test: "curl --fail --user rpcuser:rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\": \"curltest\", \"method\": \"getblockchaininfo\", \"params\": []}' -H 'content-type: text/plain;' http://localhost:8332/ || exit 1"
interval: 10s
retries: 5
start_period: 5s
Expand Down

0 comments on commit 28c8207

Please sign in to comment.