forked from wazuh/wazuh-docker
Bump elasticsearch version
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
|
# 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}
|
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"
|
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"
|
ENV ENABLE_CONFIGURE_S3="false"
|
||||||
|
|
||||||
ARG TEMPLATE_VERSION=v3.10.2
|
ARG TEMPLATE_VERSION=v3.11.1
|
||||||
|
|
||||||
# Elasticearch cluster configuration environment variables
|
# Elasticearch cluster configuration environment variables
|
||||||
# If ELASTIC_CLUSTER is set to "true" the following variables will be added to the Elasticsearch configuration
|
# If ELASTIC_CLUSTER is set to "true" the following variables will be added to the Elasticsearch configuration
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ remove_cluster_config(){
|
|||||||
sed -i '/# cluster node/,/# end cluster config/d' $1
|
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
|
if [[ $ELASTIC_CLUSTER == "true" && $CLUSTER_NODE_MASTER != "" && $CLUSTER_NODE_DATA != "" && $CLUSTER_NODE_INGEST != "" && $CLUSTER_MASTER_NODE_NAME != "" ]]; then
|
||||||
# Remove the old configuration
|
# Remove the old configuration
|
||||||
remove_single_node_conf $elastic_config_file
|
remove_single_node_conf $elastic_config_file
|
||||||
|
|||||||
Reference in New Issue
Block a user