Skip to content

Commit

Permalink
chore(tric-stack.yml) restore curl-based wait
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed Oct 7, 2020
1 parent 96928bb commit 7024d4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tric-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ services:
- -c
- |
printf "Waiting for WordPress site ";
sleep 20
until $$(curl -o /dev/null -f -s -I wordpress.test:80); do printf '.' && sleep 1; done
echo -e -n " \e[32mdone\e[0m\n"
echo "Executing command: ${TRIC_SITE_CLI_COMMAND:-core version}"
docker-entrypoint.sh ${TRIC_SITE_CLI_COMMAND:-core version}
volumes:
Expand Down

0 comments on commit 7024d4d

Please sign in to comment.