build(docker): static ffprobe, --allow-run=ffprobe,sha256sum, three supervised processes
entrypoint runs api + worker (io) + worker:agent; compose/runbooks document WORKER_CONCURRENCY, WORKER_AGENT_CONCURRENCY, ORGANIZE_WALK_MAX_FILES. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
f6457a29db
commit
3792868816
8 files changed
+78
-21
No files matched your search
+6
-1
@@ -1,4 +1,4 @@
|
||||
# 生产/试运行部署:只有两个服务 —— app(单容器:API + worker + web 静态,单端口 4380)+ postgres。
|
||||
# 生产/试运行部署:只有两个服务 —— app(单容器:API + worker(io 组)+ worker:agent + web 静态,单端口 4380)+ postgres。
|
||||
# 用法(详见 docs/runbook/deploy.md):
|
||||
# cp docker/compose.env.example .env # 按注释生成 SECRET_MASTER_KEY / POSTGRES_PASSWORD
|
||||
# docker compose up -d --build
|
||||
@@ -50,6 +50,11 @@ services:
|
||||
PUID: ${PUID:-10001}
|
||||
PGID: ${PGID:-10001}
|
||||
BACKUP_KEEP: ${BACKUP_KEEP:-14}
|
||||
# worker 并发:io 组(下载提交/入库复制/清理/对账/抓取等)与 agent 组(runAgent/resolveDecision)分池
|
||||
WORKER_CONCURRENCY: ${WORKER_CONCURRENCY:-4}
|
||||
WORKER_AGENT_CONCURRENCY: ${WORKER_AGENT_CONCURRENCY:-2}
|
||||
# 手动按路径整理时递归遍历的文件数上限
|
||||
ORGANIZE_WALK_MAX_FILES: ${ORGANIZE_WALK_MAX_FILES:-5000}
|
||||
ports:
|
||||
- "${UMT_BIND:-0.0.0.0}:${UMT_PORT:-4380}:4380"
|
||||
volumes:
|
||||
|
||||
Reference in new issue
Block a user