Skip to content

thredup/tutum-docker-elasticsearch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tutum-docker-elasticsearch

Simple docker image to run an Elasticsearch server

Usage

To create the image tutum/elasticsearch, execute the following command on tutum-docker-influxdb folder:

docker build -t tutum/elasticsearch .

You can also pull the image from the registry:

docker pull tutum/elasticsearch

Running elasticsearch

Start your image binding the external ports 9200 to your container:

docker run -d -p 9200:9200 tutum/elasticsearch

Now you can connect to Elasticsearch by:

curl 127.0.0.1:9200

Running elasticsearch with HTTP basic authentication

Use environment variables ELASTICSEARCH_USER and ELASTICSEARCH_PASS to specify the username and password and activated HTTP basic authentication (HTTP basic auth is disabled by default):

docker run -d -p 9200:9200 -e ELASTICSEARCH_USER=admin -e ELASTICSEARCH_PASS=mypass tutum/elasticsearch

Now you can connect to Elasticsearch by:

curl admin:[email protected]:9200

About

Simple docker image to run an Elasticsearch server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%