-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path.env.example
More file actions
66 lines (57 loc) · 2.96 KB
/
Copy path.env.example
File metadata and controls
66 lines (57 loc) · 2.96 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
# =============================================================================
# Zenorizon Environment Configuration
# =============================================================================
# Copy this file to .env and fill in your actual values
# Never commit .env to version control!
# =============================================================================
# DATABASE
# =============================================================================
# PostgreSQL connection string
# Format: postgresql://username:password@host:port/database?sslmode=require
# Examples:
# Local: postgresql://postgres:password@localhost:5432/zenorizon
# Supabase: postgresql://postgres:[password]@db.[project].supabase.co:5432/postgres
# Railway: postgresql://postgres:[password]@[host]:5432/railway
DATABASE_URL="postgresql://username:password@localhost:5432/zenorizon"
# =============================================================================
# NEXTAUTH.JS AUTHENTICATION
# =============================================================================
# Your application URL (no trailing slash)
# Development: http://localhost:3000
# Production: https://your-domain.com
NEXTAUTH_URL="http://localhost:3000"
# Secret key for JWT signing and encryption (minimum 32 characters)
# Generate with: openssl rand -base64 32
NEXTAUTH_SECRET="your-very-long-random-secret-key-here-minimum-32-chars"
# =============================================================================
# OAUTH PROVIDERS
# =============================================================================
# GitHub OAuth Application
# Create at: https://github.com/settings/developers
# Callback URL: http://localhost:3000/api/auth/callback/github
GITHUB_ID="your-github-oauth-app-id"
GITHUB_SECRET="your-github-oauth-app-secret"
# Google OAuth Application
# Create at: https://console.cloud.google.com/apis/credentials
# Callback URL: http://localhost:3000/api/auth/callback/google
GOOGLE_CLIENT_ID="your-google-oauth-client-id"
GOOGLE_CLIENT_SECRET="your-google-oauth-client-secret"
# =============================================================================
# REDIS (RATE LIMITING)
# =============================================================================
# Upstash Redis for rate limiting and caching
# Create free account at: https://upstash.com/
UPSTASH_REDIS_REST_TOKEN="your-upstash-redis-token"
UPSTASH_REDIS_REST_URL="https://your-redis-url.upstash.io"
# =============================================================================
# EMAIL SERVICE (OPTIONAL)
# =============================================================================
# Resend API for transactional emails
# Create account at: https://resend.com/
# RESEND_API_KEY="re_your-resend-api-key"
# =============================================================================
# DEVELOPMENT OPTIONS
# =============================================================================
# Uncomment for additional development features
# NODE_ENV="development"
# DEBUG="true"