Skip to content

Commit

Permalink
Bump ES version to 5.6.16 and add docker compose file for local testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
slashrsm committed Mar 15, 2022
1 parent cba9608 commit 7f8e324
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ machine:
java:
version: openjdk8
environment:
ES_VERSION: 5.5.2
ES_VERSION: 5.6.16

dependencies:
pre:
Expand Down
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: '3.6'
services:
elasticsearch:
image: elasticsearch:5.6-alpine
ports:
- 9200:9200
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- HTTP_EXPOSE=9200
2 changes: 1 addition & 1 deletion install-elasticsearch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
echo ">>> Installing Elasticsearch"

# Set some variables
ELASTICSEARCH_VERSION=5.5.2 # Check http://www.elasticsearch.org/download/ for latest version
ELASTICSEARCH_VERSION=5.6.16 # Check http://www.elasticsearch.org/download/ for latest version

# Install prerequisite: Java8
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
Expand Down

0 comments on commit 7f8e324

Please sign in to comment.