.env for elasticsearch
This commit is contained in:
parent
5660874df1
commit
fff294d1b7
2 changed files with 3 additions and 1 deletions
|
|
@ -38,3 +38,5 @@ LDAP_BASE_DN="dc=example,dc=org"
|
|||
LDAP_USERNAME="cn=admin,dc=example,dc=org"
|
||||
LDAP_PASSWORD=adminpassword
|
||||
LDAP_USE_SSL=false
|
||||
|
||||
ELASTICSEARCH_HOSTS=
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ return array(
|
|||
*/
|
||||
|
||||
'config' => [
|
||||
'hosts' => ['http://127.0.0.1:9200'],
|
||||
'hosts' => explode(",", env('ELASTICSEARCH_HOSTS')),
|
||||
'retries' => 1,
|
||||
],
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue