Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 543 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 543 Bytes

Dockerfile for ElasticSearch

This is based on the main ElasticSearch Dockerfile for ElasticSearch 1.7 and adds:

To use:

docker build -t code4sa/elasticsearch https://github.com/Code4SA/docker-elasticsearch.git
sudo mkdir -p /var/elasticsearch/data
docker run -d --restart=always -p 9200:9200 -p 9300:9300 -v /var/elasticsearch/data:/usr/share/elasticsearch/data code4sa/elasticsearch