# Application APP_NAME=DocEngine APP_VERSION=1.0.0 APP_ENV=development APP_DEBUG=true APP_HOST=0.0.0.0 APP_PORT=7989 APP_WORKERS=4 # Database DB_HOST=localhost DB_PORT=5432 DB_NAME=document_engine DB_USER=postgres DB_PASSWORD=changeme DB_SCHEMA=admin DB_POOL_SIZE=20 DB_MAX_OVERFLOW=10 DB_ECHO=false # Redis REDIS_HOST=localhost REDIS_PORT=6379 REDIS_DB=0 REDIS_PASSWORD= # Celery CELERY_BROKER_URL=redis://localhost:6379/0 CELERY_RESULT_BACKEND=redis://localhost:6379/1 # JWT JWT_SECRET_KEY=change-this-to-a-secure-random-string JWT_ALGORITHM=HS256 JWT_ACCESS_TOKEN_EXPIRE_MINUTES=30 JWT_REFRESH_TOKEN_EXPIRE_DAYS=7 # Storage STORAGE_PROVIDER=local STORAGE_LOCAL_PATH=./storage STORAGE_MAX_FILE_SIZE_MB=100 # OCR OCR_LANGUAGE=en OCR_USE_GPU=false # Logging LOG_LEVEL=INFO LOG_FORMAT=json # CORS CORS_ORIGINS=["http://localhost:3000","http://localhost:8080"] CORS_ALLOW_CREDENTIALS=true # Rate Limiting RATE_LIMIT_REQUESTS=100 RATE_LIMIT_WINDOW_SECONDS=60 # Prometheus PROMETHEUS_ENABLED=true