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

4 lines
193 B
Ruby

client = Elasticsearch::Client.new host: "http://#{Rails.application.secrets.elaticsearch_host}:9200", log: true
Elasticsearch::Model.client = client
Elasticsearch::Persistence.client = client