mirror of
https://github.com/Tencent/WeKnora.git
synced 2026-06-04 13:30:32 +08:00
feat: Make OCR and task concurrency configurable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user