mirror of
https://github.com/docling-project/docling-serve.git
synced 2026-03-07 22:33:44 +00:00
16 lines
719 B
Plaintext
16 lines
719 B
Plaintext
TESSDATA_PREFIX=/usr/share/tesseract/tessdata/
|
|
UVICORN_WORKERS=2
|
|
UVICORN_RELOAD=True
|
|
|
|
# Logging configuration (case-insensitive)
|
|
# DOCLING_SERVE_LOG_LEVEL=WARNING # Options: WARNING, INFO, DEBUG (or warning, info, debug)
|
|
|
|
# RQ Engine Redis Connection Pool Configuration
|
|
# Adjust these values based on your deployment scale:
|
|
# - Small (1-4 workers): Use defaults (50 connections, no timeouts)
|
|
# - Medium (5-10 workers): Set max_connections to 100
|
|
# - Large (10+ workers): Set max_connections to 150-200
|
|
# - Timeout settings: Only set if experiencing connection issues
|
|
# DOCLING_SERVE_ENG_RQ_REDIS_MAX_CONNECTIONS=50
|
|
# DOCLING_SERVE_ENG_RQ_REDIS_SOCKET_TIMEOUT=5.0
|
|
# DOCLING_SERVE_ENG_RQ_REDIS_SOCKET_CONNECT_TIMEOUT=5.0 |