mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-11-03 13:33:17 +00:00
Uninstall open distro kibana security plugin
This commit is contained in:
@@ -1,21 +1,16 @@
|
||||
# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
|
||||
ARG ELASTIC_VERSION=7.2.0
|
||||
FROM docker.elastic.co/elasticsearch/elasticsearch-oss:${ELASTIC_VERSION}
|
||||
ARG ELASTIC_VERSION=7.1.1
|
||||
FROM amazon/opendistro-for-elasticsearch:1.1.0
|
||||
ARG S3_PLUGIN_URL="https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-s3/repository-s3-${ELASTIC_VERSION}.zip"
|
||||
|
||||
ENV ELASTICSEARCH_URL="http://elasticsearch:9200"
|
||||
|
||||
ENV ALERTS_SHARDS="1" \
|
||||
ALERTS_REPLICAS="0"
|
||||
|
||||
ENV API_USER="foo" \
|
||||
API_PASS="bar"
|
||||
|
||||
|
||||
ENV ENABLE_CONFIGURE_S3="false"
|
||||
|
||||
ARG TEMPLATE_VERSION=v3.9.3
|
||||
|
||||
# Elasticearch cluster configuration environment variables
|
||||
# If ELASTIC_CLUSTER is set to "true" the following variables will be added to the Elasticsearch configuration
|
||||
# CLUSTER_INITIAL_MASTER_NODES set to own node by default.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
|
||||
FROM docker.elastic.co/kibana/kibana-oss:7.2.0
|
||||
ARG ELASTIC_VERSION=7.2.0
|
||||
FROM amazon/opendistro-for-elasticsearch-kibana:1.1.0
|
||||
ARG ELASTIC_VERSION=7.1.1
|
||||
ARG WAZUH_VERSION=3.9.3
|
||||
ARG WAZUH_APP_VERSION="${WAZUH_VERSION}_${ELASTIC_VERSION}"
|
||||
|
||||
@@ -8,7 +8,7 @@ USER root
|
||||
|
||||
ADD https://packages.wazuh.com/wazuhapp/wazuhapp-${WAZUH_APP_VERSION}.zip /tmp
|
||||
|
||||
RUN /usr/share/kibana/bin/kibana-plugin install --allow-root file:///tmp/wazuhapp-${WAZUH_APP_VERSION}.zip
|
||||
RUN /usr/share/kibana/bin/kibana-plugin install file:///tmp/wazuhapp-${WAZUH_APP_VERSION}.zip
|
||||
RUN rm -rf /tmp/wazuhapp-${WAZUH_APP_VERSION}.zip
|
||||
|
||||
COPY config/entrypoint.sh ./entrypoint.sh
|
||||
@@ -60,4 +60,6 @@ RUN ./welcome_wazuh.sh
|
||||
|
||||
RUN /usr/local/bin/kibana-docker --optimize
|
||||
|
||||
RUN /usr/share/kibana/bin/kibana-plugin remove opendistro_security
|
||||
|
||||
ENTRYPOINT ./entrypoint.sh
|
||||
|
||||
Reference in New Issue
Block a user