diff --git a/docker-compose.yml b/docker-compose.yml index ea35c48e..e8f5e170 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -63,7 +63,7 @@ services: - elasticsearch:elasticsearch entrypoint: sh wait-for-it.sh elasticsearch # environment: -# - "WAZUH_KIBANA_PLUGIN_URL=http://your.repo/wazuhapp-2.0_5.4.2.zip" +# - "WAZUH_KIBANA_PLUGIN_URL=http://your.repo/wazuhapp-2.1.0-5.5.1.zip" networks: docker_elk: diff --git a/kibana/config/wait-for-it.sh b/kibana/config/wait-for-it.sh index 0ec74bfc..955b494f 100644 --- a/kibana/config/wait-for-it.sh +++ b/kibana/config/wait-for-it.sh @@ -5,7 +5,7 @@ set -e host="$1" shift cmd="kibana" -WAZUH_KIBANA_PLUGIN_URL=${WAZUH_KIBANA_PLUGIN_URL:-https://packages.wazuh.com/wazuhapp/wazuhapp-2.0.1_5.5.1.zip} +WAZUH_KIBANA_PLUGIN_URL=${WAZUH_KIBANA_PLUGIN_URL:-https://packages.wazuh.com/wazuhapp/wazuhapp-2.1.0_5.5.1.zip} until curl -XGET $host:9200; do >&2 echo "Elastic is unavailable - sleeping" diff --git a/wazuh/Dockerfile b/wazuh/Dockerfile index fdafbc82..4eb102f7 100644 --- a/wazuh/Dockerfile +++ b/wazuh/Dockerfile @@ -7,6 +7,8 @@ RUN yum -y install epel-release openssl useradd; yum clean all RUN yum -y install postfix mailx cyrus-sasl cyrus-sasl-plain; yum clean all RUN groupadd -g 1000 ossec RUN useradd -u 1000 -g 1000 ossec +RUN curl --silent --location https://rpm.nodesource.com/setup_6.x | bash - &&\ + yum install -y nodejs RUN yum install -y wazuh-manager wazuh-api