This commit is contained in:
Yaojia Wang
2026-02-01 00:08:40 +01:00
parent 33ada0350d
commit a516de4320
90 changed files with 11642 additions and 398 deletions

View File

@@ -8,6 +8,23 @@ DB_NAME=docmaster
DB_USER=docmaster
DB_PASSWORD=your_password_here
# Storage Configuration
# Backend type: local, azure_blob, or s3
# All storage paths are relative to STORAGE_BASE_PATH (documents/, images/, uploads/, etc.)
STORAGE_BACKEND=local
STORAGE_BASE_PATH=./data
# Azure Blob Storage (when STORAGE_BACKEND=azure_blob)
# AZURE_STORAGE_CONNECTION_STRING=your_connection_string
# AZURE_STORAGE_CONTAINER=documents
# AWS S3 Storage (when STORAGE_BACKEND=s3)
# AWS_S3_BUCKET=your_bucket_name
# AWS_REGION=us-east-1
# AWS_ACCESS_KEY_ID=your_access_key
# AWS_SECRET_ACCESS_KEY=your_secret_key
# AWS_ENDPOINT_URL= # Optional: for S3-compatible services like MinIO
# Model Configuration (optional)
# MODEL_PATH=runs/train/invoice_fields/weights/best.pt
# CONFIDENCE_THRESHOLD=0.5