Added es config.

This commit is contained in:
Martin Edenhofer 2014-12-09 11:32:10 +01:00
parent f57383436f
commit ff26230c76

View file

@ -7,6 +7,13 @@
bin/plugin -install elasticsearch/elasticsearch-mapper-attachments/2.0.0
* Configure elasticsearch
/etc/sysconfig/elasticsearch
ES_HEAP_SIZE=2g
/etc/elasticsearch/elasticsearch.yml
http.max_content_length: 500mb
* Configure Zammad
* rails r "Setting.set('es_url', 'http://172.0.0.1:9200')"
* rails r "Setting.set('es_user', 'elasticsearch')" # optional