server/src/config/elasticsearch.php
author ymh <ymh.work@gmail.com>
Tue, 20 Mar 2018 15:02:24 +0100
changeset 572 190ae1dee68d
parent 25 4ce76c9e7729
permissions -rw-r--r--
New version, update js requirements + package files.

<?php

use Monolog\Logger;

return array(
    'hosts' => [env('ELASTICSEARCH_URL')],
    'logPath' => storage_path('logs/'.env('ELASTICSEARCH_LOG_PATH', 'elasticsearch.log')),
    'logLevel' => Logger::INFO,
    'shards' => env('ELASTICSEARCH_SHARDS', 1),
    'replicas' => env('ELASTICSEARCH_REPLICAS', 1),
    'index' => env('ELASTICSEARCH_INDEX')
);