Commit Graph

6 Commits

Author SHA1 Message Date
cnphpbb
ec2ce60776 chore(hindsight): 更新PG认证及环境变量配置
- 添加 scram-sha-256 认证方式及初始化参数
- 新增 DB 端口和 dataplane API URL 变量
- 移除 huggingface 缓存卷挂载
- 修正 LLM provider 值为小写 minimax
2026-06-08 05:29:09 +08:00
cnphpbb
9c3a39f25c build(hindsight): 添加 PostgreSQL 端口映射 2026-06-08 04:21:48 +08:00
cnphpbb
b0b18d4b19 fix(hindsight): 修复 huggingface 卷挂载缺少 $ 符号
同步更新 mkdir 准备命令添加 huggingface 目录
2026-06-08 03:46:00 +08:00
cnphpbb
4133a823e9 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
7d7643df3c chore(hindsight): 使用 Volumes_Path 替代硬编码路径 2026-06-08 03:03:29 +08:00
4b57b56b78 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