API 端点
- 控制面板:
http://<SERVER-IP>:6333/dashboard - REST API:
http://<SERVER-IP>:6333 - gRPC API:
<SERVER-IP>:6334
访问控制面板
- 打开 Qdrant 控制面板:
http://<SERVER-IP>:6333/dashboard - 出现提示时,请输入存储在以下位置的 API 密钥:
/root/qdrant/config/production.yaml - Qdrant 不使用用户账户,身份验证通过 API 密钥完成。
API 密钥
生成的 API 密钥存储在:
/root/qdrant/config/production.yaml
This file contains:
api_keyread_only_api_key
获取 API 密钥:
grep api_key /root/qdrant/config/production.yaml
grep read_only_api_key /root/qdrant/config/production.yaml
对于只需执行搜索操作的应用,请使用只读 API 密钥。
重要文件与目录
- 安装路径:
/root/qdrant - Compose 文件:
/root/qdrant/docker-compose.yml - 配置文件:
/root/qdrant/config/production.yaml - 数据目录:
/root/qdrant/qdrant_data - 快照目录:
/root/qdrant/snapshots
注意事项
- 此安装通过不带 TLS 的 HTTP 暴露 Qdrant。
- 建议启用 TLS 来加密客户端与 Qdrant 实例之间的流量,以提升安全性并满足生产环境需求。
- 请检查并更新以下位置的配置
/root/qdrant/config/production.yamlbased on your requirements and security preferences before using Qdrant in production.