feat: add open search support

This commit is contained in:
Tim
2025-09-26 15:34:06 +08:00
parent 4fc7c861ee
commit 4821b77c17
16 changed files with 1008 additions and 1 deletions

View File

@@ -17,6 +17,15 @@ JWT_EXPIRATION=2592000000
REDIS_HOST=<Redis 地址>
REDIS_PORT=<Redis 端口>
# === OpenSearch ===
OPENSEARCH_ENABLED=false
OPENSEARCH_HOSTS=https://<opensearch-host>:9200
# 可选:启用基本认证
# OPENSEARCH_USERNAME=<opensearch-username>
# OPENSEARCH_PASSWORD=<opensearch-password>
# 开发调试时可关闭证书校验
# OPENSEARCH_INSECURE=true
# === Resend ===
RESEND_API_KEY=<你的resend-api-key>
RESEND_FROM_EMAIL=<你的 resend 发送邮箱>