dokku / dokku-elasticsearch

an elasticsearch plugin for dokku
MIT License
94 stars 35 forks source link

Elasticsearch 2.1 runs on `127.0.0.1` not `0.0.0.0` by default #24

Closed cameronmaske closed 8 years ago

cameronmaske commented 8 years ago

Unlike <=1.7, 2.1 binds it's network to 127.0.0.1 (docs).

This means when a linked app tries to access it, it wouldn't be able to reach it.

The solution is to manually to set network.host: 0.0.0.0 in the elasticsearch.yml in /var/lib/dokku/services/elasticsearch/<app>/config/elasticsearch.yml then restart the container.

rodcrespo commented 8 years ago

+1 Thanks!