Files
inquiry_robot/deploy/nssm/SERVICES.md
T

25 lines
1.4 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.
# NSSM / Windows 服务单元清单(框架壳)
新系统只注册下列自研服务(另加 Nginx/LibreOffice/库,不计入本表)。
**禁止**五个 Worker、四个 uvicorn、Redis `wecom:worker:singleton`。
并存期端口:主账 8180、智能体 HTTP 8910、AIBOT 8913;勿占现网 8080/8810/8813。
| 服务名(建议) | 进程 | 工作目录(示例) | 启动命令(示例) | 备注 |
|---|---|---|---|---|
| `YtdInquiryLedger` | 主账 Jeecg | `E:\wwwroot\inquiry-new` | `java -jar …`(以发布脚本为准) | 端口 8180;库 `inquiry_robot` |
| `YtdInquiryAgentHttp` | 智能体 HTTP | `E:\wwwroot\agent\current` | `python -m agent.http_app` | 端口 8910;只验签入队 |
| `YtdInquiryAgentWorker` | 智能体 Worker | 同上 | `python -m agent.worker_app` | 无对外端口;LibreOffice 1 槽 |
| `YtdInquiryAibotBridge` | AIBOT 桥 | `E:\wwwroot\aibot-bridge` | `node server.cjs` | 绑定 127.0.0.1:8913;默认不连 Bot |
| `YtdInquiryAdmin` | 可选静态托管 | `E:\wwwroot\admin\current` | 通常由 Nginx 托管,可不注册 NSSM | 经 `/jeecgboot` 打 8180 |
## 环境
- 活动配置真相:`E:\wwwroot\.env`(勿改 `C:\yutongda` 活动 `.env`)
- `YTD_ENV=test|prod`;测试告警正文加 `[test]`
- AIBOT:`WECOM_AIBOT_ENABLED=false` 直至切流
## 本文件范围
只列服务名与进程边界;不含切流 Nginx、不含业务开关。具体安装命令见 `deploy/` 下远程脚本。