-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.cloud.example
More file actions
103 lines (75 loc) · 3.67 KB
/
Copy path.env.cloud.example
File metadata and controls
103 lines (75 loc) · 3.67 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# PrivyLoop Cloud Deployment Environment Configuration
# For managed cloud deployments with enterprise features
# =============================================================================
# DEPLOYMENT CONFIGURATION
# =============================================================================
# Deployment mode: must be 'cloud' for enterprise features
DEPLOYMENT_MODE=cloud
# Environment: 'staging' or 'production'
NODE_ENV=production
# =============================================================================
# DATABASE CONFIGURATION
# =============================================================================
# Supabase PostgreSQL connection string
DATABASE_URL=postgresql://postgres:[password]@db.[your-supabase-id].supabase.co:5432/postgres
# =============================================================================
# AUTHENTICATION CONFIGURATION
# =============================================================================
# Better Auth secret key (use a strong random string in production)
BETTER_AUTH_SECRET=your-production-secret-key-here-minimum-32-characters
# Production application URL
AUTH_URL=https://app.privyloop.com
# =============================================================================
# MANAGED EMAIL CONFIGURATION (Cloud)
# =============================================================================
# Email service configuration for cloud deployments
EMAIL_PROVIDER=resend
# Resend API configuration
RESEND_API_KEY=re_[your-resend-api-key]
# From email configuration (using managed domain)
FROM_NAME=PrivyLoop
FROM_EMAIL=noreply@privyloop.com
# =============================================================================
# SOCIAL AUTHENTICATION PROVIDERS
# =============================================================================
# GitHub OAuth (production app)
GITHUB_CLIENT_ID=your-production-github-client-id
GITHUB_CLIENT_SECRET=your-production-github-client-secret
# Google OAuth (production app)
GOOGLE_CLIENT_ID=your-production-google-client-id
GOOGLE_CLIENT_SECRET=your-production-google-client-secret
# Microsoft OAuth (production app)
MICROSOFT_CLIENT_ID=your-production-microsoft-client-id
MICROSOFT_CLIENT_SECRET=your-production-microsoft-client-secret
# OAuth Security Configuration (production)
OAUTH_REDIRECT_BASE_URL=https://yourdomain.com
# =============================================================================
# MANAGED SERVICES (Cloud)
# =============================================================================
# Redis for session management and caching
REDIS_URL=redis://default:[password]@[redis-hostname]:6379
# Cloudflare R2 for storage
CLOUDFLARE_R2_ACCOUNT_ID=your-cloudflare-account-id
CLOUDFLARE_R2_ACCESS_KEY_ID=your-r2-access-key
CLOUDFLARE_R2_SECRET_ACCESS_KEY=your-r2-secret-key
CLOUDFLARE_R2_BUCKET=privyloop-storage
# AI Service (managed API keys)
GEMINI_API_KEY=your-production-gemini-api-key
# Web scraping service
FIRECRAWL_API_KEY=your-production-firecrawl-api-key
# =============================================================================
# SUBSCRIPTION & BILLING (Cloud Only)
# =============================================================================
# Stripe configuration
STRIPE_PUBLISHABLE_KEY=pk_live_[your-stripe-publishable-key]
STRIPE_SECRET_KEY=sk_live_[your-stripe-secret-key]
STRIPE_WEBHOOK_SECRET=whsec_[your-stripe-webhook-secret]
# =============================================================================
# MONITORING & OBSERVABILITY (Cloud)
# =============================================================================
# Error tracking
SENTRY_DSN=https://[your-sentry-dsn]@sentry.io/[project-id]
# Analytics
ANALYTICS_ID=your-analytics-id
# Log level for production
LOG_LEVEL=info