Skip to content

Commit

Permalink
added health check instead of sleep command
Browse files Browse the repository at this point in the history
  • Loading branch information
bizk committed Jan 2, 2024
1 parent d47d9b9 commit 8bba81c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/app/simd start &
sleep 30
until curl --output /dev/null --silent --head --fail http://localhost:26657/health; do
sleep 1
done
./rosetta --blockchain "cosmos" --network "cosmos" --tendermint "tcp://localhost:26657" --addr "localhost:8080" --grpc "localhost:9090"

0 comments on commit 8bba81c

Please sign in to comment.