Skip to content

Commit

Permalink
Use ElasticSearch 6.8.23 in our local setup (#4446)
Browse files Browse the repository at this point in the history
* Use ElasticSearch 6.8.23 in our local setup

This version is deployed on Ci, staging and prod.

* Add changelog entry
  • Loading branch information
supersven authored Feb 10, 2025
1 parent 413a66f commit 273ec4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions changelog.d/5-internal/docker-compose_es6
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use ElasticSearch 6.8.23 in our local dev setups (`docker-compose`.) This is the version we use on CI, staging and prod.
9 changes: 2 additions & 7 deletions deploy/dockerephemeral/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,7 @@ services:

elasticsearch:
container_name: demo_wire_elasticsearch
build:
context: .
dockerfile_inline: |
FROM quay.io/wire/elasticsearch:0.0.9-amd64
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install x-pack -b
# this seems to be necessary to run X-Pack on Alpine (https://discuss.elastic.co/t/elasticsearch-failing-to-start-due-to-x-pack/85125/7)
RUN rm -rf /usr/share/elasticsearch/plugins/x-pack/platform/linux-x86_64
image: elasticsearch:6.8.23
ulimits:
nofile:
soft: 65536
Expand All @@ -231,6 +225,7 @@ services:
- "bootstrap.system_call_filter=false"
- "JVM_OPTIONS_ES=-Xmx512m -Xms512m"
- "discovery.type=single-node"
- "ELASTIC_PASSWORD=changeme"
volumes:
- ./docker/elasticsearch-cert.pem:/usr/share/elasticsearch/config/certs/elasticsearch-cert.pem
- ./docker/elasticsearch-key.pem:/usr/share/elasticsearch/config/certs/elasticsearch-key.pem
Expand Down

0 comments on commit 273ec4f

Please sign in to comment.