-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
50 lines (37 loc) · 1.59 KB
/
Copy path.env.example
File metadata and controls
50 lines (37 loc) · 1.59 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
49
50
# ======================================
# Digital Wallet - Environment Variables
# ======================================
# Copy this file to .env and update values for your environment
# -- Django Settings
SECRET_KEY=your-secret-key-here-change-in-production
DEBUG=True
ALLOWED_HOSTS=localhost,127.0.0.1
# -- Database Configuration
# Development (SQLite)
DATABASE_URL=sqlite:///./db.sqlite3
# Production (SupaBase PostgreSQL) - Uncomment and update for production
# DATABASE_URL=postgresql://postgres:[YOUR-PASSWORD]@db.[YOUR-PROJECT-ID].supabase.co:5432/postgres
# -- Celery & Redis Configuration
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/0
# Production Redis (Render/Upstash) - Uncomment and update for production
# CELERY_BROKER_URL=redis://default:[YOUR-REDIS-PASSWORD]@[YOUR-REDIS-HOST]:6379
# CELERY_RESULT_BACKEND=redis://default:[YOUR-REDIS-PASSWORD]@[YOUR-REDIS-HOST]:6379
# -- Email Configuration (Optional)
# Gmail SMTP (for development/testing)
# EMAIL_HOST=smtp.gmail.com
# EMAIL_PORT=587
# EMAIL_HOST_USER=your-email@gmail.com
# EMAIL_HOST_PASSWORD=your-app-password
# DEFAULT_FROM_EMAIL=Digital Wallet <noreply@yourdomain.com>
# Production SMTP - Uncomment and update for production
# EMAIL_HOST=smtp.sendgrid.net
# EMAIL_PORT=587
# EMAIL_HOST_USER=apikey
# EMAIL_HOST_PASSWORD=your-sendgrid-api-key
# DEFAULT_FROM_EMAIL=Digital Wallet <noreply@yourdomain.com>
# -- Render Deployment (Optional)
# Render automatically sets these environment variables:
# - PORT (for web process)
# - RENDER (set to "true" on Render)
# Add your custom variables above