summaryrefslogtreecommitdiffstats
path: root/docker/bottleneck-compose/kibana/entrypoint.sh
blob: c08d70ab1da8508fccb539508143ddeefa0def55 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash

# Wait for the Elasticsearch container to be ready before starting Kibana.
echo "Stalling for Elasticsearch"
while true; do
    nc -q 1 elasticsearch 9200 2>/dev/null && break
done

echo "Starting Kibana"
exec kibana