Merge "Add test monitoring module"
[bottlenecks.git] / docker / bottleneck-compose / kibana / entrypoint.sh
1 #!/usr/bin/env bash
2
3 # Wait for the Elasticsearch container to be ready before starting Kibana.
4 echo "Stalling for Elasticsearch"
5 while true; do
6     nc -q 1 elasticsearch 9200 2>/dev/null && break
7 done
8
9 echo "Starting Kibana"
10 exec kibana