-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
24 lines (18 loc) · 1.11 KB
/
.env.example
File metadata and controls
24 lines (18 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# ── Required ──────────────────────────────────────────────────────────────────
# Flask secret key — generate with: python -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=replace_with_a_long_random_string
# Login credentials
ADMIN_USERNAME=admin
ADMIN_PASSWORD=replace_with_a_strong_password
# ── Optional ──────────────────────────────────────────────────────────────────
# Absolute path on the host where uploaded files are stored
# (mounted into the container via docker-compose volumes)
# UPLOAD_FOLDER=/data/uploads
# Maximum upload size in bytes (default: 10 GB)
# MAX_UPLOAD_BYTES=10737418240
# Session lifetime in seconds (default: 8 hours)
# SESSION_LIFETIME=28800
# Allow unauthenticated read-only access (true/false, default: false)
# ALLOW_PUBLIC_READ=false
# Flask debug mode — NEVER set to true in production
# FLASK_DEBUG=false