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
Build and Push Docker Images / build-and-push (push) Successful in 19s
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user