fix(runtime): provision local document and vector services
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# 默认 Compose 缺少 Qdrant 运行服务
|
||||
|
||||
日期:2026-07-18
|
||||
文档路径:document/development/2026-07-18/dev-logs/bugs/qdrant-compose-runtime-missing.md
|
||||
|
||||
## 修复记录
|
||||
|
||||
- 15:54:记录 bug 修复:默认本地 Compose 未管理 Qdrant,知识检索与向量索引链路无法连接预期服务。
|
||||
- Git 提交检查:`git fetch --all --prune` 成功;upstream `origin/main` 无新提交;本地 ahead 19 条,最新为 `07241b46 fix(docker): manage local postgres in default compose`、`787bc3a4 feat(platform): close AI expense value loop`、`242d68c3 feat(approval): add task workflow and waiver decisions`,另有 16 条。
|
||||
- 修改:在 `docker-compose.yml` 中加入持久化 Qdrant 服务、健康检查、本机回环端口和内部网络;主服务显式使用 `http://qdrant:6333`,并等待 Qdrant 健康后启动。
|
||||
- 操作:执行 `docker compose config --quiet`,仅启动 `x-financial-qdrant`,未重建或重启 `local-x-financial-linux`。
|
||||
- 验证:Qdrant 1.18.3 容器健康,主容器内 `qdrant` 域名可解析,`/healthz` 返回 200,`/collections` 返回正常空集合;主容器仍保持原启动时间且重启次数为 0。
|
||||
- 影响:默认本地运行环境具备可持久化的向量存储依赖,后续知识检索不再依赖手工创建的散落容器。
|
||||
Reference in New Issue
Block a user