feat: enhance face-lock service with improved upload handling and response structure
python / test (push) Failing after 8s
python / test (push) Failing after 8s
- Updated README.md to reflect new features and API changes. - Introduced versioning in app initialization. - Enhanced configuration management in app/config.py with new validation functions. - Refactored main.py to improve request handling and response generation. - Added new models in app/models.py for structured API responses. - Implemented a dedicated UI rendering function in app/ui.py. - Improved Docker configuration for better security and health checks. - Updated tests to cover new validation rules and response formats. - Added CLAUDE.md for project guidelines and working rules.
This commit is contained in:
+9
-2
@@ -1,5 +1,12 @@
|
||||
ENV=prod
|
||||
FACE_LOCK_TEST_UI=true
|
||||
ENV=production
|
||||
PORT=8000
|
||||
LOG_LEVEL=info
|
||||
FACE_LOCK_DOCS=true
|
||||
FACE_LOCK_TEST_UI=false
|
||||
FACE_LOCK_MAX_UPLOAD_BYTES=8388608
|
||||
FACE_LOCK_ALLOWED_MIME_TYPES=image/jpeg,image/png,image/webp,image/gif
|
||||
WEB_CONCURRENCY=2
|
||||
UVICORN_KEEPALIVE_TIMEOUT=5
|
||||
# Optional auth
|
||||
# FACE_LOCK_AUTH_TOKEN=change-me
|
||||
# FACE_LOCK_AUTH_HEADER=X-API-Key
|
||||
|
||||
Reference in New Issue
Block a user