Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uggla/escl
Elasticsearch 6.4 cluster example with Docker
https://github.com/uggla/escl
Last synced: 25 days ago
JSON representation
Elasticsearch 6.4 cluster example with Docker
- Host: GitHub
- URL: https://github.com/uggla/escl
- Owner: uggla
- License: apache-2.0
- Created: 2019-06-19T08:55:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-21T14:14:01.000Z (over 5 years ago)
- Last Synced: 2024-10-14T09:11:07.522Z (2 months ago)
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cluster with three Elasticsearch nodes
This example brings up a cluster comprising three Elasticsearch nodes, using three docker-compose for each node.
### Prerequisites
1. Docker-Compose.version = v1.24.0
2. Docker for Linux.version = v18.09.6
3. Elasticsearch.version = v6.4.1
4. The following ports must be free on the host: 9200,9300### Instructions
* Set the vm.max_map_count kernel to at least 262144
```
sysctl -w vm.max_map_count=262144
```* Ensuring the network publish host is configured in docker-compose for each node
```
network.publish_host=es1.uggla.fr
```* Starts the containers
```
docker-compose up
```* Inspect status of cluster
```
curl http://127.0.0.1:9200/_cat/health
```### Links for help
For more information, see the two following links:
https://www.elastic.co/guide/en/elasticsearch/reference/6.4/docker.htmlhttps://www.elastic.co/guide/en/elasticsearch/reference/6.4/modules-network.html#common-network-settings