-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
59 lines (48 loc) · 1.56 KB
/
.env.example
File metadata and controls
59 lines (48 loc) · 1.56 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
# ===========================================
# Oreko Environment Variables (root — used by Docker)
# ===========================================
# For Next.js development, use apps/web/.env.example instead:
# cp apps/web/.env.example apps/web/.env.local
# Application
NODE_ENV=development
NEXT_PUBLIC_APP_URL=http://localhost:3000
# Set to "true" to skip email verification on login (local dev only, never set in production/Vercel)
SKIP_EMAIL_VERIFICATION=true
NEXT_PUBLIC_APP_NAME=Oreko
# Database (PostgreSQL)
DATABASE_URL="postgresql://oreko:oreko@localhost:5432/oreko?schema=public"
# Authentication (NextAuth.js)
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET= # Generate with: openssl rand -base64 32
# OAuth Providers (optional)
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# Stripe
STRIPE_SECRET_KEY=
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
STRIPE_WEBHOOK_SECRET=
# Email (Resend)
RESEND_API_KEY=
EMAIL_FROM="Oreko <noreply@quote.persuado.tech>"
EMAIL_REPLY_TO=
# File Storage
# Options: 'local', 's3', or 'cloudflare'
STORAGE_PROVIDER=local
STORAGE_LOCAL_PATH=./uploads
STORAGE_PUBLIC_URL=/uploads
# S3/Cloudflare R2 Storage (if STORAGE_PROVIDER=s3 or cloudflare)
STORAGE_BUCKET=
STORAGE_REGION=
STORAGE_ACCESS_KEY=
STORAGE_SECRET_KEY=
STORAGE_ENDPOINT= # Required for Cloudflare R2
# PDF Generation
# Puppeteer settings for PDF generation
PUPPETEER_EXECUTABLE_PATH= # Optional, path to Chrome/Chromium
# Rate Limiting
RATE_LIMIT_WINDOW=60000 # 1 minute in ms
RATE_LIMIT_MAX_REQUESTS=100
# Logging
LOG_LEVEL=debug # debug, info, warn, error