Skip to content

nautsio/consul-elasticsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elasticsearch Dockerfile

This repository contains a ElasticSearch instance that can be used in a Consul and Registrator environment.

Usage

docker run --rm \
    --name elasticsearch-<i> \
    --env SERVICE_NAME=<cluster-name> \
    --env SERVICE_9200_TAGS=http \
    --env SERVICE_9300_ID=<cluster-name>-<i> \
    --env SERVICE_9300_TAGS=es-transport \
    --env TOTAL_NR_OF_SERVERS=<number-of-instances-in-cluster> \
    -P \
    --dns <ip-address-consul-listening-on-port-53> \
    --dns-search=service.consul \
    -v <data-dir>:/data \
    cargonauts/consul-elasticsearch

About

Docker image for Consul ElasticSearch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages