Skip to content

dungvo/Docker-Elasticsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Elasticsearch

Build Image

git clone https://github.com/dungvo/Docker-Elasticsearch.git
cd Docker-Elasticsearch
docker build -t dungvo/elasticsearch .

Usage

docker run -d \
       -p 9200:9200 \
       -p 9300:9300  
       -e "ES_HEAP_SIZE=512"  \  
       -e "ES_CLUSTER_NAME=elasticsearch-cluster" \  
       -e "ES_NODE_NAME=node-one" \  
       -e "NODE_MASTER=true" \
       -e "NODE_DATA=true"  \  
       -e "NUMBER_OF_SHARDS=5" \  
       -e "NUMBER_OF_REPLICAS=1" \  
       -e "BOOTSTRAP_MLOCKALL=true" \  
       dungvo/elasticsearch

DONE.

About

Dockerfile for Elastcisearch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages