rancher / catalog-dockerfiles

Dockerfiles for Rancher Catalog containers
Apache License 2.0
131 stars 102 forks source link

Rancher v0.4.0 elasticsearch container changes to support elasticsearch v2.1.1 #41

Closed mgolly closed 8 years ago

mgolly commented 8 years ago

Changes from 0.4.0

run.sh

elasticsearch-conf doesn't create elasticsearch's /config/scripts/ directory. In versions prior to v2 this wasn't an issue, but now it is (elasticsearch v2 won't start without it). Since I couldn't figure out a way to get the directory created in the Docker file, run.sh now specifically creates it.

conf.d/elasticsearch.toml / templates/elasticsearch.tmpl

elasticsearch prior to v2 automatically listened on all addresses (0.0.0.0). v2 changed this to only listen on localhost (127.0.0.1) automatically (i.e. more secure by default). SysAdmin now has to specify an address in the config file.

kopf/Dockerfile

Pull kopf v2.1.1.

mgolly commented 8 years ago

@cloudnautique - just wondering if you are going to pull this in or should I rebase this pull request to go to the community repo?