Commit Graph

725 Commits

Author SHA1 Message Date
cnphpbb 7845e35d0a style: reorder env template exceptions in gitignore 2026-06-28 22:54:46 +08:00
cnphpbb 958c259698 chore(mysql): 添加 Volumes_Path 到环境变量示例 2026-06-28 22:48:46 +08:00
cnphpbb 18d05e4412 chore(mysql): 使用次要版本镜像标签 2026-06-27 14:39:29 +08:00
cnphpbb 164e78c86f Merge branch 'main' of 6t7.net:cnphpbb/deploy.stack 2026-06-27 14:23:16 +08:00
cnphpbb fa9584236a chore(portainer-ce): 注释 9443 端口映射 2026-06-27 14:23:08 +08:00
cnphpbb 81df866c63 docs(honcho): §4 Phase 1-2 按 v3.0.10 schema 重写 2026-06-26 20:27:25 +08:00
cnphpbb 80a96407aa fix(honcho): correct API URL comment and default endpoint for vm61 2026-06-26 18:58:35 +08:00
cnphpbb 87dd489674 docs(honcho): 修正 WireGuard 网段与 vm61 端口 2026-06-26 18:28:08 +08:00
moqiruyi 3fcacc8705 feat(portainer-ce): bump STS version to 2.43.0 and disable 9443 port 2026-06-26 15:32:44 +08:00
moqiruyi a4ca202459 chore(portainer-ce): bump LTS to 2.39.4 and STS to 2.43.0 2026-06-26 15:25:30 +08:00
cnphpbb c9382a8a83 feat(shell): add universal proxy management scripts 2026-06-21 22:23:29 +08:00
cnphpbb 2e7546c225 feat(honcho): 添加多客户端共享方案及密钥创建脚本 2026-06-21 07:00:04 +08:00
cnphpbb 18b93913f5 fix(honcho): correct Volumes_Path casing to lowercase 2026-06-19 22:58:55 +08:00
cnphpbb 337a789a0f chore: ignore env.cfg.* backup variants 2026-06-19 21:22:25 +08:00
cnphpbb 8b07e76d67 fix(honcho): override deduction/induction specialist model to deepseek/siliconflow
honcho-deriver dreamer 模块的 deduction/induction specialist 有独立的
model config(src/config.py:1189-1208),默认值 hardcode gpt-5.4-mini +
openai SDK 默认 endpoint(api.openai.com/v1)。原 stack.yml 只覆盖了
DERIVER_MODEL_CONFIG 和 EMBEDDING_MODEL_CONFIG,导致 dream cycle 在
国内持续 timeout。

- stack.yml deriver 段显式注入 DEDUCTION_MODEL_CONFIG__* /
  INDUCTION_MODEL_CONFIG__*(model=deepseek-ai/DeepSeek-V4-Flash,
  base_url=https://api.siliconflow.cn/v1)
- DERIVER_MODEL_CONFIG__OVERRIDES__BASE_URL 同步加上
- env.cfg.example: 同步 HONCHO_DEDUCTION_MODEL /
  HONCHO_INDUCTION_MODEL 变量;HONCHO_DERIVER_MODEL 默认值从 gpt-5.4-mini
  改为 deepseek-ai/DeepSeek-V4-Flash;HONCHO_LLM_BASE_URL 默认从 openai.com
  改为 siliconflow.cn

诊断依据:vm61 docker inspect honcho-deriver + logs 显示
src.dreamer.orchestrator 仍在请求 openai/gpt-5.4-mini。
.env.*
2026-06-19 21:21:46 +08:00
cnphpbb 7309ec1261 chore: ignore stack.yml backup variants 2026-06-19 18:55:31 +08:00
cnphpbb 7c1e1d6fe4 chore: ignore env.cfg files with extra extensions 2026-06-19 18:53:43 +08:00
cnphpbb c157e9a418 fix(honcho): 容器端口必须用容器内端口,不能用 host 映射端口
vm61 honcho-api 一直 unhealthy + deriver 反复重启,根因是 stack.yml 把
宿主机映射端口 (HONCHO_DB_PORT=25432) 当成了容器间互访端口:
- DB_CONNECTION_URI 里 database:${HONCHO_DB_PORT} 应为 database:5432
- healthcheck URL localhost:18000 应为 localhost:8000
HONCHO_API_PORT/DB_PORT/REDIS_PORT 仅用于宿主机 ports 映射段,
容器之间互访必须硬编码容器内端口 (5432/6379/8000)。

- 改 stack.yml api + deriver 段 DB_CONNECTION_URI 端口为 5432
- 改 stack.yml api 段 healthcheck URL 为 localhost:8000
- readme 关键陷阱加第 6 条:"容器端口 vs 宿主机端口不可混用"
- vm61 4 honcho 容器全部 healthy,deriver queue processor 已正常运行
2026-06-19 18:39:17 +08:00
cnphpbb 80d485605b fix(honcho): embedding 升 Qwen3-8B 并 force dimensions=1536 兼容旧 schema
- vm61 数据库 public.documents.embedding dim 是 1536(旧 OpenAI 部署遗留)
- Qwen3-Embedding-8B 默认 4096 维,撞 schema 不匹配导致 honcho-api 启动失败
- 通过 SiliconFlow OpenAI 兼容 API 的 dimensions 参数强制输出 1536
- env.cfg + stack.yml + readme 全部同步更新
- docker compose config 校验通过,vm61 honcho-api /health HTTP 200
2026-06-19 18:26:45 +08:00
cnphpbb b4561f1d9e build(honcho): add auth env vars 2026-06-19 18:08:28 +08:00
cnphpbb 520ffa7769 build(honcho): parameterize db and redis ports with env vars 2026-06-19 17:48:41 +08:00
cnphpbb 19a74e3841 fix(honcho): correct health check port from 8000 to 18000 2026-06-19 17:46:00 +08:00
cnphpbb 625d95d3f8 refactor(etc): convert daemon.json to jsonc with trailing commas
Replace sensitive config values with comment fields
2026-06-19 17:42:04 +08:00
cnphpbb 603cb60aa4 fix(honcho): correct build context path 2026-06-19 17:13:35 +08:00
cnphpbb c06984a268 fix(memos): correct postgres volume and env setup 2026-06-19 16:40:45 +08:00
cnphpbb c55d90040c feat(memos): add pgsql sidecar and unify db port
- Add PostgreSQL container to local and prod stacks with healthcheck
- Change external DB port from 5432 to 15432 in all env configs
- Rename env-lkc.cnf to db-lkc.cnf for consistency
- Add db-local.cnf for local PostgreSQL deployment
2026-06-19 16:26:55 +08:00
cnphpbb 9c08233d4e feat(honcho): embedding 切换 SiliconFlow Qwen3-0.6B 支持 Ollama 备选
- embedding 默认走 SiliconFlow Qwen3-Embedding-0.6B(独立 base URL)
- env.cfg.example 加 Ollama 备选注释块(host.docker.internal:11434)
- stack.yml api+deriver 双服务 EMBEDDING_* 配置同步
- api 段 EMBEDDING_API_KEY 用 :- 默认空,兼容 Ollama 无 key 场景
- readme Mermaid 架构图加 siliconflow + ollama 节点
- HONCHO_DERIVER_MODEL 默认值 gpt-4o-mini → gpt-5.4-mini(与上游对齐)
2026-06-19 15:12:50 +08:00
cnphpbb 48b52ca21c feat(honcho): add honcho self-hosted deployment stack 2026-06-19 14:49:22 +08:00
cnphpbb 7a660e0482 refactor(shell): 移除 proxy_test 中 curl 的 -w 参数 2026-06-19 12:42:56 +08:00
cnphpbb 5e9c6b0bb5 fix(shell): 更新代理出口 IP 检测地址为 inet-ip.info 2026-06-19 12:39:39 +08:00
cnphpbb dd00f03715 feat(shell): 添加代理出口IP检测 2026-06-19 12:33:52 +08:00
cnphpbb 259fb246b8 refactor(shell): 代理测试失败时尝试 Google 2026-06-19 12:29:47 +08:00
cnphpbb 60be84cb95 fix(shell): 优化代理测试为 GitHub 和 ipip.net 2026-06-19 12:23:52 +08:00
cnphpbb ad8b21d40b fix(shell): 修复 proxy.sh 边框颜色显示问题 2026-06-19 12:14:49 +08:00
cnphpbb 84b166316d docs: 新增 AI 协作系统级约束章节 2026-06-19 11:52:41 +08:00
cnphpbb 6a790d77ca Merge branch 'main' of 6t7.net:cnphpbb/deploy.stack 2026-06-19 11:47:23 +08:00
cnphpbb 1b359d42a2 feat(honcho): 添加 honcho 部署栈 2026-06-19 11:46:44 +08:00
cnphpbb 275c252cf1 chore: 添加 .gitattributes 强制 LF 行尾
同步在 AGENTS.md 补充 CRLF 验证与修复方法。
2026-06-19 11:43:07 +08:00
cnphpbb ade28ad50d feat(shell): 添加代理配置管理脚本
提供 proxy_on / proxy_off / proxy_status / proxy_test
四个函数,支持 HTTP/HTTPS/SOCKS 代理的快速启停、
状态查看与连通性测试(含本地端口探测与外网访问验证)。
2026-06-19 11:29:29 +08:00
moqiruyi c0b483fbb4 docs: 添加项目结构说明和使用示例章节 2026-06-18 16:04:52 +08:00
moqiruyi 06a855b1aa chore: 从多个服务中移除 env.cfg 文件 2026-06-18 16:04:42 +08:00
moqiruyi 2f29ca0fba chore: remove deleted env.cfg files from git tracking 2026-06-18 15:39:56 +08:00
moqiruyi 19782e8393 feat(grafana): add deployment documentation 2026-06-18 15:27:03 +08:00
moqiruyi 37dc8ce00d chore: bump image versions, remove tasks.md service
- domain-admin: v1.6.73 → v1.6.78
- drawnix: v0.3.0 → v0.4.1
- grafana: 12.2.0 → 13.0.2, remove readme.md
- golang: pin to 1.25 minor (drop patch version)
- tasks.md: remove stack.yml and env.cfg
2026-06-18 14:03:28 +08:00
moqiruyi 665821212d chore(victoriametrics): add blank line below compose header comment 2026-06-17 23:42:52 +08:00
moqiruyi 88f52089e3 chore(victoriametrics): add deployment command comment 2026-06-17 23:42:03 +08:00
moqiruyi ef29b676c3 chore(victoriametrics): bump image to v1.145.0 2026-06-17 22:23:14 +08:00
moqiruyi fc0d714651 chore(n9e): rename redis container to n9e_redis 2026-06-17 21:32:52 +08:00
moqiruyi 14f9ed8a27 chore(postgres): bump postgres image versions in env.cfg.example
- Update PostgreSQL 16 to 16.14
- Update PostgreSQL 17 to 17.10
- Update PostgreSQL 18 to 18.4
- Update PostgreSQL 15 to 15.18
2026-06-17 21:20:47 +08:00
moqiruyi c2088c6f54 chore(n9e): update nightingale image to 9.0.0-beta.3 2026-06-17 21:20:37 +08:00