Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LABEL author="pjpires@gmail.com, gabriel.bauer@commerce-experts.com"
# Export HTTP & Transport
EXPOSE 9200 9300

ENV ES_VERSION 6.6.0
ENV ES_VERSION 6.6.1

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 @@ -12,7 +12,7 @@ Ready to use, lean and highly configurable Elasticsearch container image.

* Alpine Linux 3.9
* OpenJDK JRE 8u191
* Elasticsearch 6.6.0
* Elasticsearch 6.6.1

**Note:** `x-pack-ml` module is forcibly disabled as it's not supported on Alpine Linux.

Expand All @@ -29,7 +29,7 @@ docker run --name elasticsearch \
--detach \
--privileged \
--volume /path/to/data_folder:/data \
commerceexperts/docker-elasticsearch:6.6.0
commerceexperts/docker-elasticsearch:6.6.1
```

Ready to use node for cluster `myclustername`:
Expand All @@ -39,7 +39,7 @@ docker run --name elasticsearch \
--privileged \
--volume /path/to/data_folder:/data \
-e CLUSTER_NAME=myclustername \
commerceexperts/docker-elasticsearch:6.6.0
commerceexperts/docker-elasticsearch:6.6.1
```

Ready to use node for cluster `elasticsearch-default`, with 8GB heap allocated to Elasticsearch:
Expand All @@ -49,7 +49,7 @@ docker run --name elasticsearch \
--privileged \
--volume /path/to/data_folder:/data \
-e ES_JAVA_OPTS="-Xms8g -Xmx8g" \
commerceexperts/docker-elasticsearch:6.6.0
commerceexperts/docker-elasticsearch:6.6.1
```

Ready to use node with plugins (x-pack and repository-gcs) pre installed. Already installed plugins are ignored:
Expand All @@ -60,7 +60,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" \
commerceexperts/docker-elasticsearch:6.6.0
commerceexperts/docker-elasticsearch:6.6.1
```

**Master-only** node for cluster `elasticsearch-default`:
Expand All @@ -71,7 +71,7 @@ docker run --name elasticsearch \
--volume /path/to/data_folder:/data \
-e NODE_DATA=false \
-e HTTP_ENABLE=false \
commerceexperts/docker-elasticsearch:6.6.0
commerceexperts/docker-elasticsearch:6.6.1
```

**Data-only** node for cluster `elasticsearch-default`:
Expand All @@ -81,7 +81,7 @@ docker run --name elasticsearch \
--privileged \
-e NODE_MASTER=false \
-e HTTP_ENABLE=false \
commerceexperts/docker-elasticsearch:6.6.0
commerceexperts/docker-elasticsearch:6.6.1
```

**Data-only** node for cluster `elasticsearch-default` with shard allocation awareness:
Expand All @@ -94,7 +94,7 @@ docker run --name elasticsearch \
-e HTTP_ENABLE=false \
-e SHARD_ALLOCATION_AWARENESS=dockerhostname \
-e SHARD_ALLOCATION_AWARENESS_ATTR="/dockerhost" \
commerceexperts/docker-elasticsearch:6.6.0
commerceexperts/docker-elasticsearch:6.6.1
```

**Client-only** node for cluster `elasticsearch-default`:
Expand All @@ -105,7 +105,7 @@ docker run --name elasticsearch \
--volume /path/to/data_folder:/data \
-e NODE_MASTER=false \
-e NODE_DATA=false \
commerceexperts/docker-elasticsearch:6.6.0
commerceexperts/docker-elasticsearch:6.6.1
```
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