Code Review
/
bottlenecks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
POSCA docker-compose adapting
[bottlenecks.git]
/
docker
/
bottleneck-compose
/
kibana
/
entrypoint.sh
diff --git a/docker/bottleneck-compose/kibana/entrypoint.sh
b/docker/bottleneck-compose/kibana/entrypoint.sh
new file mode 100644
(file)
index 0000000..
c08d70a
--- /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