-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
39 lines (31 loc) · 926 Bytes
/
Copy path.env.example
File metadata and controls
39 lines (31 loc) · 926 Bytes
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
# === Database ===
DATABASE_URL="postgresql://postgres:postgres@localhost:5433/interviewprep?schema=public"
# === Redis ===
REDIS_URL="redis://localhost:6379"
# === JWT ===
JWT_ACCESS_SECRET="change-me-to-a-random-32-char-secret-key-here"
JWT_REFRESH_SECRET="change-me-to-another-random-32-char-secret"
JWT_ACCESS_EXPIRY="15m"
JWT_REFRESH_EXPIRY="7d"
# === Server ===
PORT=4000
NODE_ENV="development"
FRONTEND_URL="http://localhost:3000"
CORS_ORIGINS="http://localhost:3000"
# === OAuth (Sprint 4) ===
GITHUB_CLIENT_ID=""
GITHUB_CLIENT_SECRET=""
NEXTAUTH_SECRET=""
NEXTAUTH_URL="http://localhost:3000"
# === OpenAI (Sprint 4) ===
OPENAI_API_KEY=""
# === Sentry (Sprint 4) ===
SENTRY_DSN=""
# === Docker (Judge Worker) ===
DOCKER_SOCKET="/var/run/docker.sock"
EXECUTION_TIMEOUT_MS=10000
EXECUTION_MEMORY_LIMIT="256m"
EXECUTION_CPU_LIMIT=1
# === Rate Limiting ===
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100