docker-elk-ssl/kibana/entrypoint.sh
fvigotti 56490a320d kibana is now executed using exec
kibana should be executed with exec to give it pid 1 and bind signal forwarding with the container instance
2015-12-12 16:19:32 +00:00

11 lines
238 B
Bash

#!/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