Skip to content

Commit c31e66d

Browse files
committed
#105512 Обновление readme
1 parent 370cb32 commit c31e66d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,18 @@ $records = ElasticQuery::getQueryLog();
266266
ElasticQuery::disableQueryLog();
267267
```
268268

269+
## Environment Variables
270+
Below see the environment variables that you can configure with the default values,
271+
Hosts should be comma seperated string of hosts with protocol prefix and port suffix, e.g. `http://localhost:9200,http://localhost:9201`
272+
273+
```dotenv
274+
ELASTICSEARCH_HOSTS=https://localhost:9200'
275+
ELASTICSEARCH_RETRIES=2
276+
ELASTICSEARCH_USERNAME=admin
277+
ELASTICSEARCH_PASSWORD=admin
278+
ELASTICSEARCH_SSL_VERIFICATION=true,
279+
```
280+
269281
## Contributing
270282

271283
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

0 commit comments

Comments
 (0)