                                      :endpoint "s3.eu-central-1.amazonaws.com"}}
                       :prod {:s3 {:bucket "kixi-data-store-file-store"
                                   :endpoint "s3.eu-central-1.amazonaws.com"}}}
- :metadatastore {:elasticsearch #profile {:local {:host "localhost"
+ :metadatastore {:elasticsearch #profile {:local {:host #or [#env ELASTICSEARCH "localhost"]
                                                   :port 9200}
                                           :jenkins {:host "elasticsearch.marathon.mesos"
                                                     :port 1026}
                                           :staging {:host "elasticsearch.marathon.mesos"
-                                                    :port 1026}
-                                          }}
+                                                    :port 1026}}}
  :schemastore {:elasticsearch #profile {:local {:host "localhost"
                                                 :port 9200}
                                         :jenkins {:host "elasticsearch.marathon.mesos"

{:service-name "kixi.datastore"
 :web-server #profile {:local {:vhost "localhost"
                               :port 8080}
                       :jenkins {:vhost "localhost"
                                 :port 8080}

                                 :port 18080}}
 :metrics {:influx-reporter {:host #profile {:staging "172.20.0.48"
                                             :jenkins "influxdb.sandpitvpc.kixi"
                                             :local #or [#env INFLUXDB "localhost"]}
                             :port 8086
                                        ;                             :auth
                             :connect-timeout 1500
