Skip to content

Commit

Permalink
Update Elastic Docker images to v8 (major) (#17167)
Browse files Browse the repository at this point in the history
Co-authored-by: Zoltán Lehóczky <[email protected]>
  • Loading branch information
renovate[bot] and Piedone authored Dec 14, 2024
1 parent 493fbe4 commit 9ccb2dc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/docs/reference/modules/Elasticsearch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ Then exit any WSL instance, `wsl --shutdown`, and restart.
vm.max_map_count = 262144
```

Elasticsearch v7.17.5 Docker Compose file :
[docker-compose.yml](docker-compose.yml)
Elasticsearch Docker Compose file (check the current Elasticsearch version in the file if you need to run a specific version): [docker-compose.yml](docker-compose.yml)

- Copy this file in a folder named Elasticsearch somewhere safe.
- Open up a Terminal or Command Shell in this folder.
Expand Down
18 changes: 15 additions & 3 deletions src/docs/reference/modules/Elasticsearch/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '2.2'
services:
es01:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.26
image: docker.elastic.co/elasticsearch/elasticsearch:8.16.1
container_name: es01
environment:
- node.name=es01
Expand All @@ -10,6 +10,10 @@ services:
- cluster.initial_master_nodes=es01,es02
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
# Disable security features
- xpack.security.enabled=false
- xpack.security.http.ssl.enabled=false
- xpack.security.transport.ssl.enabled=false
ulimits:
memlock:
soft: -1
Expand All @@ -21,7 +25,7 @@ services:
networks:
- elastic
es02:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.26
image: docker.elastic.co/elasticsearch/elasticsearch:8.16.1
container_name: es02
environment:
- node.name=es02
Expand All @@ -30,6 +34,10 @@ services:
- cluster.initial_master_nodes=es01,es02
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
# Disable security features
- xpack.security.enabled=false
- xpack.security.http.ssl.enabled=false
- xpack.security.transport.ssl.enabled=false
ulimits:
memlock:
soft: -1
Expand All @@ -40,9 +48,13 @@ services:
- elastic
kibana:
container_name: kibana
image: docker.elastic.co/kibana/kibana:7.17.26
image: docker.elastic.co/kibana/kibana:8.16.1
environment:
ELASTICSEARCH_HOSTS: '["http://es01:9200","http://es02:9200"]'
# Disable security features in Kibana
ELASTICSEARCH_USERNAME: elastic
ELASTICSEARCH_PASSWORD:
XPACK_SECURITY_ENABLED: false
networks:
- elastic
depends_on:
Expand Down

0 comments on commit 9ccb2dc

Please sign in to comment.