Files
pipeline-lifetime/.env.example
T

26 lines
815 B
Bash

# Copy to .env for local deployment.
# Generate SECRET_KEY with: python -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=change-me-to-a-long-random-secret
# Required for first deployment. Used to create or rotate the admin account on startup.
ADMIN_USERNAME=admin
ADMIN_PASSWORD=change-me
# Persist the app database in the mounted ./data directory.
DATABASE_URL=sqlite:////app/data/pipe_survival_0331.db
# Timezone used when displaying UTC timestamps.
APP_TIMEZONE=Asia/Shanghai
# Default: 16 MiB
MAX_UPLOAD_BYTES=16777216
# Default RC1 fusion model core directory inside the Docker image.
FUSION_MODEL_CORE_DIR=/app/model_core
# Keep public registration closed by default.
ALLOW_REGISTRATION=false
# Minutes before an admin-generated password reset link expires.
PASSWORD_RESET_TOKEN_MINUTES=30