This commit is contained in:
2026-05-08 00:05:51 +08:00
parent 549b706fcc
commit ed70a140a2
40 changed files with 5590 additions and 36 deletions
+2 -2
View File
@@ -20,14 +20,14 @@ return [
* - OPENSEARCH_HOSTS=http://127.0.0.1:9200
* - OPENSEARCH_USERNAME=admin
* - OPENSEARCH_PASSWORD=...
* - OPENSEARCH_SSL_VERIFY=true
* - OPENSEARCH_SSL_VERIFY=false
* - OPENSEARCH_INDEX_CHUNKS=proofdb_chunks
*/
'default' => [
'hosts' => $hosts,
'username' => getenv('OPENSEARCH_USERNAME') ?: null,
'password' => getenv('OPENSEARCH_PASSWORD') ?: null,
'ssl_verify' => $bool('OPENSEARCH_SSL_VERIFY', true),
'ssl_verify' => $bool('OPENSEARCH_SSL_VERIFY', false),
'timeout' => (float) (getenv('OPENSEARCH_TIMEOUT') ?: 30),
'connect_timeout' => (float) (getenv('OPENSEARCH_CONNECT_TIMEOUT') ?: 5),
],