部署优化
This commit is contained in:
@@ -47,9 +47,7 @@ cp .env.example .env.local
|
||||
--port 8765 \
|
||||
--enable-processing \
|
||||
--enable-monthly-generation \
|
||||
--enable-company-reports \
|
||||
--node-binary /absolute/path/to/node \
|
||||
--artifact-tool-module /absolute/path/to/artifact_tool.mjs
|
||||
--enable-company-reports
|
||||
```
|
||||
|
||||
另开一个进程启动月报消费者:
|
||||
@@ -91,8 +89,9 @@ worker 是独立无端口进程,应由进程管理器单独保活。
|
||||
## 部署
|
||||
|
||||
生产配置见 [deploy/README.md](deploy/README.md)。当前 Compose 模板仍只打包 `web` 与 `caddy`,Caddy 负责
|
||||
HTTPS,Web 负责应用登录和会话;没有 MCP 端口、MCP 域名或 Agent Secret。月报 worker 必须作为独立进程部署,
|
||||
并使用同一数据库、共享输出卷以及已经打包 Node/artifact-tool 的运行镜像;当前本地工作站已按这一方式运行。
|
||||
HTTPS,Web 负责应用登录和会话;没有 MCP 端口、MCP 域名或 Agent Secret。公司渠道明细由 Web 进程使用
|
||||
Python/openpyxl 生成正式 Excel,不需要 Node/artifact-tool。月报 worker 必须作为独立进程部署,并使用同一
|
||||
数据库、共享输出卷以及已经打包 Node/artifact-tool 的运行镜像;当前本地工作站已按这一方式运行。
|
||||
|
||||
## 当前月报行为
|
||||
|
||||
|
||||
Reference in New Issue
Block a user