diff --git a/elasticsearch/Dockerfile b/elasticsearch/Dockerfile index 25633294..66a00475 100644 --- a/elasticsearch/Dockerfile +++ b/elasticsearch/Dockerfile @@ -1,5 +1,5 @@ # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) -ARG ELASTIC_VERSION=7.5.0 +ARG ELASTIC_VERSION=7.5.1 FROM docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION} ARG S3_PLUGIN_URL="https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-s3/repository-s3-${ELASTIC_VERSION}.zip" @@ -15,7 +15,7 @@ ENV XPACK_ML="true" ENV ENABLE_CONFIGURE_S3="false" -ARG TEMPLATE_VERSION=v3.10.2 +ARG TEMPLATE_VERSION=v3.11.1 # Elasticearch cluster configuration environment variables # If ELASTIC_CLUSTER is set to "true" the following variables will be added to the Elasticsearch configuration diff --git a/elasticsearch/config/config_cluster.sh b/elasticsearch/config/config_cluster.sh index d1d0e532..31b563bf 100644 --- a/elasticsearch/config/config_cluster.sh +++ b/elasticsearch/config/config_cluster.sh @@ -13,7 +13,7 @@ remove_cluster_config(){ sed -i '/# cluster node/,/# end cluster config/d' $1 } -# If Elasticsearch cluster is enable, then set up the elasticsearch.yml +# If Elasticsearch cluster is enabled, then set up the elasticsearch.yml if [[ $ELASTIC_CLUSTER == "true" && $CLUSTER_NODE_MASTER != "" && $CLUSTER_NODE_DATA != "" && $CLUSTER_NODE_INGEST != "" && $CLUSTER_MASTER_NODE_NAME != "" ]]; then # Remove the old configuration remove_single_node_conf $elastic_config_file @@ -54,4 +54,4 @@ else remove_single_node_conf $elastic_config_file remove_cluster_config $elastic_config_file echo "discovery.type: single-node" >> $elastic_config_file -fi \ No newline at end of file +fi