Skip to content

Commit

Permalink
Changed to logs
Browse files Browse the repository at this point in the history
  • Loading branch information
bashleigh committed Oct 9, 2018
1 parent c80375c commit 227d035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testdb.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
while [ "$(docker inspect -f '{{.State.Health.Status}}' $(docker ps --last 1 --format '{{.Names}}'))" != "healthy" ];
do
docker-compose ps
docker-compose logs db
sleep 1
done

0 comments on commit 227d035

Please sign in to comment.