.env for elasticsearch

This commit is contained in:
Vincent BRIDIER 2022-03-16 15:16:36 +01:00
parent 5660874df1
commit fff294d1b7
No known key found for this signature in database
GPG key ID: 8571BFA20420D512
2 changed files with 3 additions and 1 deletions

View file

@ -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=

View file

@ -14,7 +14,7 @@ return array(
*/
'config' => [
'hosts' => ['http://127.0.0.1:9200'],
'hosts' => explode(",", env('ELASTICSEARCH_HOSTS')),
'retries' => 1,
],