refactor: split flask app structure
This commit is contained in:
+7
-1
@@ -2,9 +2,15 @@
|
||||
# Generate SECRET_KEY with: python -c "import secrets; print(secrets.token_hex(32))"
|
||||
SECRET_KEY=
|
||||
|
||||
# Set ADMIN_PASSWORD to create or rotate the admin account on startup.
|
||||
# Required for first deployment. Used to create or rotate the admin account on startup.
|
||||
ADMIN_USERNAME=admin
|
||||
ADMIN_PASSWORD=
|
||||
|
||||
# Default: 16 MiB
|
||||
MAX_UPLOAD_BYTES=16777216
|
||||
|
||||
# Default model path inside the Docker image.
|
||||
MODEL_PATH=/app/my_survival_forest_model_quxi-10-0331.joblib
|
||||
|
||||
# Keep public registration closed by default.
|
||||
ALLOW_REGISTRATION=false
|
||||
|
||||
Reference in New Issue
Block a user