1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-11 00:52:29 +01:00
fab-manager/config/initializers/elasticsearch.rb

4 lines
193 B
Ruby
Raw Normal View History

client = Elasticsearch::Client.new host: "http://#{Rails.application.secrets.elaticsearch_host}:9200", log: true
2016-03-23 18:39:41 +01:00
Elasticsearch::Model.client = client
Elasticsearch::Persistence.client = client