Skip to content

Commit

Permalink
perf: docker check core health
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeEirc authored and ibuler committed Sep 14, 2020
1 parent dc45c30 commit ad9a5c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
#

while [ "$(curl -I -m 10 -o /dev/null -s -w %{http_code} $CORE_HOST)" != "302" ]
while [ "$(curl -I -m 10 -o /dev/null -s -w %{http_code} ${CORE_HOST}/api/health/)" != "200" ]
do
echo "wait for jms_core $CORE_HOST ready"
sleep 2
Expand Down

0 comments on commit ad9a5c4

Please sign in to comment.