HUB
Sign inSign up

errordeveloper/weave-elasticsearch-minimal

By errordeveloper

•Updated about 11 years ago

Minimal (< 200MB) ElasticSearch container enabled for Weave

Image
2

1.9K

errordeveloper/weave-elasticsearch-minimal repository overview

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 git.io/weave -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
Tag summary
Recent tags
Content type
Image
Digest
sha256:45906d297…
Size
87.1 MB
Last updated
about 11 years ago
docker pull errordeveloper/weave-elasticsearch-minimal:latest