diff options
Diffstat (limited to 'docker/bottleneck-compose/kibana/entrypoint.sh')
-rw-r--r-- | docker/bottleneck-compose/kibana/entrypoint.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docker/bottleneck-compose/kibana/entrypoint.sh b/docker/bottleneck-compose/kibana/entrypoint.sh new file mode 100644 index 00000000..c08d70ab --- /dev/null +++ b/docker/bottleneck-compose/kibana/entrypoint.sh @@ -0,0 +1,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 |