https://github.com/codelibs/docker-elasticsearch
https://github.com/codelibs/docker-elasticsearch
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codelibs/docker-elasticsearch
- Owner: codelibs
- License: apache-2.0
- Created: 2020-07-09T02:50:35.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-21T05:18:08.000Z (almost 2 years ago)
- Last Synced: 2025-03-30T18:04:25.454Z (about 1 year ago)
- Language: Shell
- Size: 39.1 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Docker Compose for Elasticsearch
=======================
## Description
This is an example compose file for running Elasticsearch with Docker Compose.
### Kernel settings for elasticsearch
Elasticsearch needs to set vm.max_map_count to at least 262144. See [Install Elasticsearch with Docker](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-prod-prerequisites).
## Usage
### Run Elasticsearch
Elasticsearch for single node (localhost:9200):
```
$ docker compose -f compose.yaml up -d
```
Elasticsearch and Kibana (localhost:5601):
```
$ docker compose -f compose.yaml -f compose-kibana.yaml up -d
```
Elasticsearch cluster:
```
$ docker compose -f compose-cluster.yaml up -d
```
Elasticsearch cluster and Kibana:
```
$ docker compose -f compose-cluster.yaml -f compose-kibana.yaml up -d
```
### Stop Fess
```
$ docker compose -f compose.yaml -f ...(snip)... down
```
### Remove Local Volumes
```
$ docker volume prune
```