Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
48 lines (37 loc) · 1.78 KB
/
Copy path.env.example
File metadata and controls
48 lines (37 loc) · 1.78 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# RunRush Environment Configuration Template
# Copy this to .env and fill in your values
# NEVER commit .env to version control
# ----------------- Flask Environment -----------------
FLASK_ENV=development
# Generate a strong key for production with: python -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=dev-secret-key-change-in-production
# ----------------- Database -----------------
# Local development (SQLite):
DATABASE_URL=sqlite:///runs.db
# Production (PostgreSQL on Render):
# DATABASE_URL=postgresql://user:password@host:5432/dbname
# ----------------- Redis (Optional, for rate limiting storage) -----------------
# REDIS_URL=redis://localhost:6379/0
# ----------------- Admin Configuration -----------------
ADMIN_USER_ID=1
# ----------------- Integrations -----------------
# Open-Meteo Weather Integration (Uses historical/forecast api - API Key optional)
WEATHER_API_KEY=
# Email notifications (Resend integration)
RESEND_API_KEY=
RESEND_FROM_EMAIL=RunRush <noreply@runrush.app>
# Google Gemini API Key for vision-based screenshot runs import
GEMINI_API_KEY=
# Web Push (generate a VAPID key pair; keep the private key secret)
# VAPID_PUBLIC_KEY=base64url-public-key
# VAPID_PRIVATE_KEY=base64url-private-key
# VAPID_SUBJECT=mailto:owner@example.com
# ----------------- Cron Job Authentication -----------------
# Generate with: python -c "import secrets; print(secrets.token_hex(32))"
# Must be sent in the 'Authorization: Bearer <secret>' header to /api/trigger-weekly-emails
CRON_SECRET=
# ----------------- PIN Recovery -----------------
# Shown to users who have no recovery method configured.
# REPLACE THIS with your real support email or URL before going to production.
# SUPPORT_EMAIL=support@runrush.app
SUPPORT_EMAIL=