Skip to content

Commit

Permalink
OpenSearch vers update.
Browse files Browse the repository at this point in the history
  • Loading branch information
vladd-bit committed Jan 18, 2025
1 parent 1f69f38 commit 7cf5622
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
8 changes: 4 additions & 4 deletions deploy/elasticsearch.env
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ ELASTICSEARCH_VERSION=opensearch
# possible values :
# - elasticsearch : docker.elastic.co/elasticsearch/elasticsearch:8.3.3
# - elasticsearch (custom cogstack image) : cogstacksystems/cogstack-elasticsearch:latest
# - opensearch : opensearchproject/opensearch:2.10.0
# - opensearch : opensearchproject/opensearch:2.18.0
# the custom cogstack image is always based on the last image of ES native

ELASTICSEARCH_DOCKER_IMAGE=opensearchproject/opensearch:2.10.0
ELASTICSEARCH_DOCKER_IMAGE=opensearchproject/opensearch:2.18.0

ELASTICSEARCH_LOG_LEVEL=INFO

Expand Down Expand Up @@ -156,10 +156,10 @@ KIBANA_CONFIG_FILE_VERSION=opensearch_dashboards
# possible values:
# - elasticsearch : docker.elastic.co/kibana/kibana:8.3.3
# - elasticsearch (custom cogstack image) : cogstacksystems/cogstack-kibana:latest
# - opensearch : opensearchproject/opensearch-dashboards:2.10.0
# - opensearch : opensearchproject/opensearch-dashboards:2.18.0
# the custom cogstack image is always based on the last image of ES native

ELASTICSEARCH_KIBANA_DOCKER_IMAGE=opensearchproject/opensearch-dashboards:2.10.0
ELASTICSEARCH_KIBANA_DOCKER_IMAGE=opensearchproject/opensearch-dashboards:2.18.0

KIBANA_SERVER_NAME="cogstack-kibana"
KIBANA_PUBLIC_BASE_URL="https://elasticsearch-1:5601"
Expand Down
7 changes: 5 additions & 2 deletions deploy/general.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# any other variables that you may want to use go here

# This is used to explicitly inform systems that run on Apple silicon to emulate this architecture
# Remove if this causes issues on any other platform
DOCKER_DEFAULT_PLATFORM=linux/amd64
# set only CPU_ARCHITECTURE to amd/arm64
# remove if this causes issues on any other platform
# possible values: amd64, arm64
CPU_ARCHITECTURE=amd64
DOCKER_DEFAULT_PLATFORM=linux/${CPU_ARCHITECTURE:-amd64}
10 changes: 5 additions & 5 deletions deploy/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ services:
#---------------------------------------------------------------------------#
es_native_create_certs:
container_name: es_create_certs
image: ${ELASTICSEARCH_DOCKER_IMAGE:-opensearchproject/opensearch:2.10.0}
image: ${ELASTICSEARCH_DOCKER_IMAGE:-opensearchproject/opensearch:2.18.0}
env_file:
- ../security/certificates_elasticsearch.env
environment:
Expand All @@ -379,7 +379,7 @@ services:
- elasticsearch-certs-vol:/certs

elasticsearch-1:
image: ${ELASTICSEARCH_DOCKER_IMAGE:-opensearchproject/opensearch:2.10.0}
image: ${ELASTICSEARCH_DOCKER_IMAGE:-opensearchproject/opensearch:2.18.0}
container_name: elasticsearch-1
shm_size : 1024mb
restart: always
Expand Down Expand Up @@ -471,7 +471,7 @@ services:
- ${NIFI_HOST_NAME:-test-5:0.0.0.0}

elasticsearch-2:
image: ${ELASTICSEARCH_DOCKER_IMAGE:-opensearchproject/opensearch:2.10.0}
image: ${ELASTICSEARCH_DOCKER_IMAGE:-opensearchproject/opensearch:2.18.0}
container_name: elasticsearch-2
shm_size : 1024mb
restart: always
Expand Down Expand Up @@ -563,7 +563,7 @@ services:
- ${NIFI_HOST_NAME:-test-5:0.0.0.0}

elasticsearch-3:
image: ${ELASTICSEARCH_DOCKER_IMAGE:-opensearchproject/opensearch:2.10.0}
image: ${ELASTICSEARCH_DOCKER_IMAGE:-opensearchproject/opensearch:2.18.0}
container_name: elasticsearch-3
shm_size : 1024mb
restart: always
Expand Down Expand Up @@ -863,7 +863,7 @@ services:
# Kibana webapp #
#---------------------------------------------------------------------------#
kibana:
image: ${ELASTICSEARCH_KIBANA_DOCKER_IMAGE:-opensearchproject/opensearch-dashboards:2.10.0}
image: ${ELASTICSEARCH_KIBANA_DOCKER_IMAGE:-opensearchproject/opensearch-dashboards:2.18.0}
container_name: cogstack-kibana
restart: always
env_file:
Expand Down

0 comments on commit 7cf5622

Please sign in to comment.