-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (41 loc) · 1.71 KB
/
.env.example
File metadata and controls
47 lines (41 loc) · 1.71 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
# ====================
# Mutatio Environment Configuration
# ====================
# -----------------------------
# Database Configuration
# -----------------------------
# PostgreSQL connection URLs - Required for Prisma ORM
# For development: Use local PostgreSQL or a cloud provider like Neon
# For production: Use a properly secured database with connection pooling
DATABASE_URL=postgres://user:password@hostname:5432/database_name?sslmode=require
DATABASE_URL_UNPOOLED=postgresql://user:password@hostname:5432/database_name?sslmode=require
# -----------------------------
# Security Configuration
# -----------------------------
# Encryption key for API keys stored in localStorage - REQUIRED
# Generate using: node scripts/generate-encryption-key.js
# or using: openssl rand -hex 32
# DO NOT USE DEFAULT VALUES IN PRODUCTION
ENCRYPTION_KEY=your_generated_32_character_hex_string
# -----------------------------
# NextAuth Configuration
# -----------------------------
# Base URL for your application
# For development: http://localhost:3000
# For production: https://yourdomain.com
NEXTAUTH_URL=http://localhost:3000
# Secret used for JWT signing and encryption - REQUIRED
# Generate using: openssl rand -base64 32
# DO NOT USE DEFAULT VALUES IN PRODUCTION
NEXTAUTH_SECRET=your_generated_base64_string_for_nextauth
# -----------------------------
# Deployment Configuration
# -----------------------------
# Vercel specific settings (if deploying to Vercel)
# VERCEL_URL will be automatically set in Vercel deployments
# VERCEL_ENV={development|preview|production}
# -----------------------------
# Application Settings
# -----------------------------
# Set to 'production' in production environments for optimized builds
NODE_ENV=development