Skip to content

Instantly share code, notes, and snippets.

View jhuiting's full-sized avatar

Jos Huiting jhuiting

  • Mendix
  • Vianen, Netherlands
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jhuiting on github.
  • I am jhuiting (https://keybase.io/jhuiting) on keybase.
  • I have a public key ASDgVPyD13atR5wOH97klcx24ghzOLrorEB7tjpeDHUpzQo

To claim this, I am signing this object:

echo "Waiting for the API to be started";
until [ "`docker inspect -f {{.State.Health.Status}} $(docker-compose ps -q api)`" = "healthy" ]; do
sleep 0.5;
echo -n "."
done;
@jhuiting
jhuiting / gist:a9f9acae15083d8b8ccf49ff5186c466
Created October 10, 2016 13:35
Docker healthcheck bash
echo "Waiting for the API to be started";
until [ "`docker inspect -f {{.State.Health.Status}} $(docker-compose ps -q api)`" = "healthy" ]; do
sleep 0.5;
echo -n "."
done;