-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
42 lines (34 loc) · 1.3 KB
/
.env.example
File metadata and controls
42 lines (34 loc) · 1.3 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
# --- VOIDLAB SYSTEM CONFIG ---
PORT=5000
NODE_ENV=development
# --- FRONTEND CONFIG ---
# The URL where your frontend will run
NEXT_PUBLIC_API_URL=http://localhost:5000
WEB_APP_URL=http://localhost:3000
API_BASE_URL=http://localhost:5000
# --- DATABASE ---
# Use a managed PostgreSQL database in production (Render Postgres / Supabase / Neon / Railway).
# For local development, docker-compose can provide Postgres on localhost:5432.
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/voidlab
DATABASE_SSL=false
DATABASE_SSL_REJECT_UNAUTHORIZED=false
# --- COMPILER API ---
# Judge0 CE is used for public cloud execution
JUDGE0_API_URL=https://ce.judge0.com
# --- EMAIL DELIVERY ---
# Optional but required if you want automatic welcome emails after login
RESEND_API_KEY=your_resend_api_key
VOIDLAB_FROM_EMAIL=VoidLAB <welcome@yourdomain.com>
# --- AUTHENTICATION ---
# Secret key for signing login tokens
JWT_SECRET=your_super_secret_voidlab_key_123
APP_ENCRYPTION_KEY=your_super_secret_voidlab_encryption_key_456
# --- GOOGLE OAUTH ---
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
# --- GITHUB OAUTH ---
GITHUB_CLIENT_ID=your_github_client_id
GITHUB_CLIENT_SECRET=your_github_client_secret
# --- X OAUTH ---
X_CLIENT_ID=your_x_client_id
X_CLIENT_SECRET=your_x_client_secret