Skip to content

million12/docker-elasticsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elasticsearch docker image

CircleCI Build Status GitHub Open Issues GitHub Stars GitHub Forks
Stars on Docker Hub Pulls on Docker Hub
Docker Layers

Deploy to Docker Cloud

Docker Image with Elasticsearch server.

This container is built that any extra parameters provided to docker run will be passed directly to elasticsearch command. For example, if you run docker run [run options] million12/elasticsearch --cluster.name: my-cluser you pass --cluster.name my-cluster to elasticsearch daemon.

ENVIRONMENTAL Variables

MARVEL_SUPPORT - Add support for Marvel Agent. (true/false). false is default.

  1. Marvel Docs

Run

docker run \
-d \
--name elasticsearch \
-p 9200:9200 \
million12/elasticsearch

Custom Config

User can use custom configuration file by adding -v option into run command (see example).
Default configuration directory: /opt/elasticsearch/config/

docker run \
-d \
--name elasticsearch \
-p 9200:9200 \
-e MARVEL_SUPPORT=true \
-v /path/to/myconfig.file:/opt/elasticsearch/config/elasticsearch.yml \
million12/elasticsearch

Access Web Interface

htttp://elasticsearch_ip:9200

SystemD .service file

For easy deployment using systemd we provide an example of .service file. See systemd directory

Author(s)

Author: Marcin ryzy Ryzycki (marcin@m12.io)
Author: Przemyslaw Ozgo (linux@ozgo.info)


Sponsored by Prototype Brewery - the new prototyping tool for building highly-interactive prototypes of your website or web app. Built on top of Neos CMS and Zurb Foundation framework.