CoolFace
Apppublic

WilsonPharma/Practitioners-Workload-DB

sourceHugging Faceupdated 4mo agoView on Hugging Face
1likes
.env21 linesDownload Raw Back to root
1# DXReportApp Environment Configuration
2# Copy this to .env and fill in real values before deploying
3
4# ── Security ────────────────────────────────────────────────────────────────
5# CHANGE THIS in production! Use: python -c "import secrets; print(secrets.token_hex(32))"
6SECRET_KEY=dxreportapp_dev_secret_key_change_me_in_production_abc123xyz
7
8# Access token lifetime in minutes (default 8 hours)
9ACCESS_TOKEN_EXPIRE_MINUTES=480
10
11# ── API ──────────────────────────────────────────────────────────────────────
12# URL used by Streamlit to reach FastAPI
13API_BASE_URL=http://127.0.0.1:8000
14
15# ── Import settings ──────────────────────────────────────────────────────────
16# Rows per CSV chunk (tune based on available RAM)
17CSV_CHUNK_SIZE=10000
18
19# Max upload file size in MB
20MAX_UPLOAD_SIZE_MB=500
21