Skip to content

Commit

Permalink
Upgrade Elasticsearch to version 6.1.3
Browse files Browse the repository at this point in the history
Signed-off-by: Paulo Pires <[email protected]>
  • Loading branch information
pires committed Feb 4, 2018
1 parent f0b3fcd commit a928e6e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ MAINTAINER [email protected]
# Export HTTP & Transport
EXPOSE 9200 9300

ENV ES_VERSION 6.1.2
ENV ES_VERSION 6.1.3

ENV DOWNLOAD_URL "https://artifacts.elastic.co/downloads/elasticsearch"
ENV ES_TARBAL "${DOWNLOAD_URL}/elasticsearch-${ES_VERSION}.tar.gz"
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Ready to use, lean and highly configurable Elasticsearch container image.
## Current software

* OpenJDK JRE 8u151
* Elasticsearch 6.1.2
* Elasticsearch 6.1.3

## Run

Expand All @@ -22,7 +22,7 @@ docker run --name elasticsearch \
--detach \
--privileged \
--volume /path/to/data_folder:/data \
quay.io/pires/docker-elasticsearch:6.1.2
quay.io/pires/docker-elasticsearch:6.1.3
```

Ready to use node for cluster `myclustername`:
Expand All @@ -32,7 +32,7 @@ docker run --name elasticsearch \
--privileged \
--volume /path/to/data_folder:/data \
-e CLUSTER_NAME=myclustername \
quay.io/pires/docker-elasticsearch:6.1.2
quay.io/pires/docker-elasticsearch:6.1.3
```

Ready to use node for cluster `elasticsearch-default`, with 8GB heap allocated to Elasticsearch:
Expand All @@ -42,7 +42,7 @@ docker run --name elasticsearch \
--privileged \
--volume /path/to/data_folder:/data \
-e ES_JAVA_OPTS="-Xms8g -Xmx8g" \
quay.io/pires/docker-elasticsearch:6.1.2
quay.io/pires/docker-elasticsearch:6.1.3
```

Ready to use node with plugins (x-pack and repository-gcs) pre installed. Already installed plugins are ignored:
Expand All @@ -53,7 +53,7 @@ docker run --name elasticsearch \
--volume /path/to/data_folder:/data \
-e ES_JAVA_OPTS="-Xms8g -Xmx8g" \
-e ES_PLUGINS_INSTALL="repository-gcs,x-pack" \
quay.io/pires/docker-elasticsearch:6.1.2
quay.io/pires/docker-elasticsearch:6.1.3
```

**Master-only** node for cluster `elasticsearch-default`:
Expand All @@ -64,7 +64,7 @@ docker run --name elasticsearch \
--volume /path/to/data_folder:/data \
-e NODE_DATA=false \
-e HTTP_ENABLE=false \
quay.io/pires/docker-elasticsearch:6.1.2
quay.io/pires/docker-elasticsearch:6.1.3
```

**Data-only** node for cluster `elasticsearch-default`:
Expand All @@ -74,7 +74,7 @@ docker run --name elasticsearch \
--privileged \
-e NODE_MASTER=false \
-e HTTP_ENABLE=false \
quay.io/pires/docker-elasticsearch:6.1.2
quay.io/pires/docker-elasticsearch:6.1.3
```

**Data-only** node for cluster `elasticsearch-default` with shard allocation awareness:
Expand All @@ -87,7 +87,7 @@ docker run --name elasticsearch \
-e HTTP_ENABLE=false \
-e SHARD_ALLOCATION_AWARENESS=dockerhostname \
-e SHARD_ALLOCATION_AWARENESS_ATTR="/dockerhost" \
quay.io/pires/docker-elasticsearch:6.1.2
quay.io/pires/docker-elasticsearch:6.1.3
```

**Client-only** node for cluster `elasticsearch-default`:
Expand All @@ -98,7 +98,7 @@ docker run --name elasticsearch \
--volume /path/to/data_folder:/data \
-e NODE_MASTER=false \
-e NODE_DATA=false \
quay.io/pires/docker-elasticsearch:6.1.2
quay.io/pires/docker-elasticsearch:6.1.3
```
I also make available special images and instructions for [AWS EC2](https://github.com/pires/docker-elasticsearch-aws) and [Kubernetes](https://github.com/pires/docker-elasticsearch-kubernetes).

Expand Down

0 comments on commit a928e6e

Please sign in to comment.