3cf4a9a40a
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.
13 lines
319 B
Bash
13 lines
319 B
Bash
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
|