feat: Make OCR and task concurrency configurable

This commit is contained in:
begoniezhao
2026-01-15 10:42:48 +08:00
parent 928d1c3d44
commit 1abdaa5d5c
5 changed files with 49 additions and 35 deletions

View File

@@ -120,6 +120,8 @@ services:
- WEB_PROXY=${WEB_PROXY:-}
# File size limit (in MB)
- MAX_FILE_SIZE_MB=${MAX_FILE_SIZE_MB:-50}
- IMAGE_MAX_CONCURRENT=${IMAGE_MAX_CONCURRENT:-1}
- OCR_BACKEND=${OCR_BACKEND:-paddle}
healthcheck:
test: ["CMD", "grpc_health_probe", "-addr=:50051"]
interval: 30s