-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
74 lines (56 loc) · 1.88 KB
/
.env.example
File metadata and controls
74 lines (56 loc) · 1.88 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
# ============================================
# 1. Docker Required env vars (.)
# ============================================
# AuthJS Secret & app URL
AUTH_URL="http://localhost:3000"
AUTH_SECRET=""
AUTH_GOOGLE_ID=""
AUTH_GOOGLE_SECRET=""
AUTH_GITHUB_ID=""
AUTH_GITHUB_SECRET=""
# NeonDB credentials
DATABASE_URL="postgres://<user>:<password>@your-neon-host.neon.tech/<dbname>?sslmode=require"
# ============================================
# 2. Client Configuration (apps/web)
# ============================================
# AuthJS Secret & app URL
AUTH_URL="http://localhost:3000"
AUTH_SECRET=""
# Google OAuth
AUTH_GOOGLE_ID=""
AUTH_GOOGLE_SECRET=""
# GitHub OAuth
AUTH_GITHUB_ID=""
AUTH_GITHUB_SECRET=""
# API URL
NEXT_PUBLIC_SERVER_URL="http://localhost:4000"
# NeonDB credentials
DATABASE_URL="postgres://<user>:<password>@your-neon-host.neon.tech/<dbname>?sslmode=require"
# ============================================
# 3. Server Configuration (apps/server)
# ============================================
PORT=4000
SERVER_VERSION="1.0.0"
NODE_ENV=development # TODO: update to production before deployment
# Redis Config
REDIS_HOST="redis-"
REDIS_PASSWORD=""
REDIS_PORT=15804
# Rate Limiting
RATE_LIMIT_WINDOW_MS=60000 # 1 minute
RATE_LIMIT_MAX_REQUESTS=100
# Load Testing Limits
MAX_CONCURRENT_TESTS=5
MAX_VIRTUAL_USERS=1000
MAX_TEST_DURATION=480 # 8 minutes
# CORS - Allowed client origin
CLIENT_URL="http://localhost:3000"
# NeonDB credentials
DATABASE_URL="postgres://<user>:<password>@your-neon-host.neon.tech/<dbname>?sslmode=require"
# ============================================
# 4. Database Configuration (packages/db)
# ============================================
# NeonDB credentials
DATABASE_URL="postgres://<user>:<password>@your-neon-host.neon.tech/<dbname>?sslmode=require"
# NeonDB credentials
DIRECT_URL="postgres://<user>:<password>@your-neon-host.neon.tech/<dbname>"