1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-02 13:24:20 +01:00
fab-manager/config/initializers/elasticsearch.rb
2016-03-23 18:39:41 +01:00

4 lines
175 B
Ruby

client = Elasticsearch::Client.new host: "http://#{ENV["ELASTICSEARCH_HOST"]}:9200", log: true
Elasticsearch::Model.client = client
Elasticsearch::Persistence.client = client