forked from wazuh/wazuh-docker
update docker compose ports
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
FROM kibana:5.0.2
|
||||
|
||||
RUN apt-get update && apt-get install -y curl
|
||||
|
||||
COPY ./config/kibana.yml /opt/kibana/config/kibana.yml
|
||||
|
||||
RUN /usr/share/kibana/bin/kibana-plugin install http://wazuh.com/resources/wazuh-app.zip
|
||||
|
||||
COPY config/wait-for-it.sh /
|
||||
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
host="$1"
|
||||
shift
|
||||
cmd="kibana"
|
||||
|
||||
until curl -XGET $host:9200; do
|
||||
>&2 echo "Elastic is unavailable - sleeping"
|
||||
sleep 1
|
||||
done
|
||||
|
||||
sleep 60
|
||||
|
||||
>&2 echo "Elastic is up - executing command"
|
||||
exec $cmd
|
||||
Reference in New Issue
Block a user