Files
scan-ocr-cheques/.env
2025-07-09 02:12:06 +02:00

27 lines
610 B
Bash

# Configuration de l'API Cheque Scanner
API_KEY=your-secret-api-key-change-me
DEBUG=false
# Configuration Redis
REDIS_URL=redis://redis:6379/0
# Configuration des workers
WORKER_REPLICAS=2
# Configuration OCR
DEFAULT_OCR_LANGUAGE=fra
ALTERNATIVE_OCR_LANGUAGE=eng
# Configuration des files d'attente
QUEUE_NAME=cheque_processing
HIGH_PRIORITY_QUEUE_NAME=cheque_processing_high
# Chemins de stockage
UPLOAD_FOLDER=/app/data/uploads
RESULT_FOLDER=/app/data/results
TEMP_FOLDER=/app/data/tmp
# Limites et timeouts
MAX_CONTENT_LENGTH=16777216 # 16MB
JOB_TIMEOUT=300 # 5 minutes
RESULT_TTL=86400 # 24 heures