We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 370cb32 commit c31e66dCopy full SHA for c31e66d
README.md
@@ -266,6 +266,18 @@ $records = ElasticQuery::getQueryLog();
266
ElasticQuery::disableQueryLog();
267
```
268
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
281
## Contributing
282
283
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
0 commit comments