7 Commits

Author SHA1 Message Date
cnphpbb
d39c6cccf6 ```
docs(hindsight): 更新 readme 适配 deploy.stack 规范

- 路径从 /home/geng/ 统一为 ${Volumes_Path}
- 新增端口和环境变量说明章节
- 更新架构图,补充 DB 对外暴露端口
- 补充备份恢复命令的 --env-file 参数
- 新增外部 DB 连接和密码特殊字符排查项
  ```
2026-06-08 08:13:44 +08:00
cnphpbb
cd03ec9b84 chore(hindsight): 更新PG认证及环境变量配置
- 添加 scram-sha-256 认证方式及初始化参数
- 新增 DB 端口和 dataplane API URL 变量
- 移除 huggingface 缓存卷挂载
- 修正 LLM provider 值为小写 minimax
2026-06-08 05:29:09 +08:00
cnphpbb
94b0ec7091 build(hindsight): 添加 PostgreSQL 端口映射 2026-06-08 04:21:48 +08:00
cnphpbb
425130e982 fix(hindsight): 修复 huggingface 卷挂载缺少 $ 符号
同步更新 mkdir 准备命令添加 huggingface 目录
2026-06-08 03:46:00 +08:00
cnphpbb
0cf24fee31 refactor(hindsight): 使用Volumes_Path替代硬编码路径
- backup.job 改为从 env.cfg 读取 Volumes_Path
- stack.yml 路径替换为变量引用
- .gitignore 添加 hindsight/env.cfg
2026-06-08 03:28:26 +08:00
cnphpbb
db61398dce chore(hindsight): 使用 Volumes_Path 替代硬编码路径 2026-06-08 03:03:29 +08:00
9c83f6e2e8 feat(hindsight): 新增 Hindsight 方案三部署 stack
采用 DB+Hindsight 分离部署方案:
- pgvector/pgvector:pg18 向量数据库
- ghcr.nju.edu.cn/vectorize-io/hindsight:latest 应用
- 0.0.0.0:8888/9999 端口绑定
- ~/hindsight/pgdata bind mount (避免 9P fsync 性能)
- HF_CACHE_DIR 参数化,适配非 WSL 环境
- 每日 pg_dump 备份,7 天保留

参考 Obsidian 知识库 DevOps/04-AI工具/Hindsight部署指南.md
2026-06-08 00:05:25 +08:00