Add environment variable support for API key and max workers in OCR API; implement API key verification for secure access
Build and Push Docker Images / build-and-push (push) Successful in 19s

This commit is contained in:
2025-07-17 19:26:11 +02:00
parent a7d832c894
commit a97392f421
4 changed files with 71 additions and 5 deletions
+13
View File
@@ -0,0 +1,13 @@
# OCR API Configuration
# API Authentication
API_KEY=your-secret-api-key-here
REQUIRE_API_KEY=true
# Performance Configuration
DEFAULT_MAX_WORKERS=4
# Optional: Override default settings
# LOG_LEVEL=INFO
# HOST=0.0.0.0
# PORT=8000