40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
# Database Configuration
|
|
# Copy this file to .env and fill in your actual values
|
|
|
|
# PostgreSQL Database
|
|
DB_HOST=192.168.68.31
|
|
DB_PORT=5432
|
|
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
|
|
|
|
# Server Configuration (optional)
|
|
# SERVER_HOST=0.0.0.0
|
|
# SERVER_PORT=8000
|
|
|
|
# Auto-labeling Configuration (optional)
|
|
# AUTOLABEL_WORKERS=2
|
|
# AUTOLABEL_DPI=150
|
|
# AUTOLABEL_MIN_CONFIDENCE=0.5
|