-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (28 loc) · 916 Bytes
/
Copy path.env.example
File metadata and controls
32 lines (28 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Required on Vercel
FLASK_ENV=production
SECRET_KEY=replace-with-a-long-random-value
DATABASE_URL=postgresql://user:password@host/database?sslmode=require
BLOB_READ_WRITE_TOKEN=vercel_blob_rw_replace_me
# Run these locally with `flask create-admin` after `flask init-db`
ADMIN_USERNAME=admin
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=replace-with-a-strong-password
# Transactional email (recommended on Vercel)
EMAIL_PROVIDER=resend
RESEND_API_KEY=
MAIL_DEFAULT_SENDER=Statistical Model Suggester <noreply@example.com>
# Optional local SMTP fallback: set EMAIL_PROVIDER=smtp
MAIL_SERVER=smtp.gmail.com
MAIL_PORT=587
MAIL_USE_TLS=true
MAIL_USERNAME=
MAIL_PASSWORD=
# Optional AI enhancement
AI_ENHANCEMENT_ENABLED=false
OPENAI_API_KEY=
OPENAI_MODEL=gpt-5-mini
OPENAI_FALLBACK_MODEL=gpt-5-mini
OPENAI_REASONING_EFFORT=low
AI_REQUESTS_PER_USER_PER_HOUR=20
AI_REQUEST_TIMEOUT_SECONDS=45
AI_MAX_OUTPUT_TOKENS=400