Files
hermes-glass-ui-personal/README.md
2026-05-09 16:40:34 +08:00

33 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Hermes Glass UI · 个人版
基于 `business/20260414-hermes-glass-ui` fork,精简为个人单用户版本。
## 部署
- **线上**: https://hermes.kang-kang.com/
- **宿主**: Hetzner VPS (`76.13.31.179`)
- **入口**: Coolify Traefik (443) → 宿主 nginx (`127.0.0.1:8088`, cookie 门禁) → Incus LXC `hermes-personal` → Docker hermes-agent (8642)
- **模型**: Google Gemini 3 Pro Preview (via OpenRouter)
- **登录**: 单用户 `kang`
## 飞书桥接
`server/feishu_bridge.py` 提供飞书双向桥接:
- `POST /feishu/events`: 飞书事件回调 → Hermes → 飞书回复
- `POST /feishu/events/{app_id}`: 多个飞书机器人共用桥服务时按路径区分
- `POST /feishu/notify`: Hermes / 内部系统主动推送到飞书
线上已部署为 systemd `hermes-feishu-bridge.service`nginx 已公开 `/feishu/` 反代。凭证通过部署环境变量配置,详见 `server/feishu-bridge.env.example`;不要把 App Secret、Hermes API key 或通知 token 写入仓库。
## 与公司版的差异
| 维度 | 公司版 (hermes.milejoy.com) | 个人版 (hermes.kang-kang.com) |
|---|---|---|
| 用户 | `boss` / `mile` 双账号 | `kang` 单账号 |
| 后端 | Incus LXC hermes-box + Docker (Gemini 3 Pro via 直连) | Incus LXC hermes-personal + Docker (Gemini 3 Pro via OpenRouter) |
| 入口 | 宿主 nginx 直听 443 | Coolify Traefik 443 → 宿主 nginx 内部 8088 |
| 证书 | certbot (ai.milejoy.com 复用) | Traefik + letsencrypt certresolver |
详见 `.memory/deployment-kang.md`