Skip to content

Docker image with Elasticsearch and elasticsearch-kopf, kibana and elasticsearch-HQ plugins installed.

License

Notifications You must be signed in to change notification settings

jimlester/elasticsearch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image with Elasticsearch and elasticsearch-kopf, kibana and elasticsearch-HQ plugins installed.

Get started

To run that image with persistent data storage run:

docker run -d --name data_elasticsearch -v /opt/elasticsearch/data tianon/true

to create storage container and then you can start the elasticsearch itself:

CID=$(docker run -d -P --volumes-from data_elasticsearch michaloo/elasticsearch)

after getting container port:

PORT=$(docker port $CID 9200)

you can open:

http://$PORT/_plugin/kopf/

http://$PORT/_plugin/kibana3/

http://$PORT/_plugin/HQ/

to cleanup:

docker rm -f $CID && docker rm -v data_elasticsearch

Run example

Provided example assumes using crane. Change dir to examples/ and execute crane lift. This will bring three containers:

After lifting them up you can go to http://your-docker-host:9200/_plugin/kibana3/index.html#/dashboard/file/logstash.json to see the example logs (you may need to wait a minute for logs to show).

About

Docker image with Elasticsearch and elasticsearch-kopf, kibana and elasticsearch-HQ plugins installed.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%