First commit
This commit is contained in:
27
.env
Normal file
27
.env
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user