Public | Automated Build

Last pushed: 2 years ago
Short Description
Minimal (< 200MB) ElasticSearch container enabled for Weave
Full Description

It's not exactly easy to bring up a containerised ES cluster, weave fixes it.

(NOTE: this container has http.cors.enabled: true)

Install weave script:

sudo curl -sL -o /usr/local/bin/weave
sudo chmod a+x /usr/local/bin/weave

On the first host:

host1$ weave launch
host1$ eval $(weave env)
host1$ docker run --name=es1 errordeveloper/weave-elasticsearch-minimal:latest

And on the second host:

host2$ weave launch host1
host2$ eval $(weave env)
host2$ docker run --name=es2 errordeveloper/weave-elasticsearch-minimal:latest

Test it out:

host1$ sudo weave expose
host1$ curl `weave dns-lookup es1`:9200/_cat/nodes?h=name
Thane Ector
Steel Spider
Docker Pull Command
Source Repository

Comments (0)