-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
45 lines (37 loc) · 1.33 KB
/
.env.example
File metadata and controls
45 lines (37 loc) · 1.33 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
# ============================================
# CodeInsight — Environment Variables
# ============================================
# 1. Copy this file: cp .env.example .env
# 2. Fill in your values below
# 3. Never commit .env (it's in .gitignore)
#
# For backend-specific settings, see packages/backend/.env.example
# === Backend ===
NODE_ENV=development
PORT=3002
# === Database (PostgreSQL) ===
DATABASE_URL=postgresql://user:password@localhost:5432/codeinsight
# === Firebase Admin (Backend) ===
FIREBASE_PROJECT_ID=your-project-id
FIREBASE_CLIENT_EMAIL=your-email@iam.gserviceaccount.com
FIREBASE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nYOUR_KEY\n-----END PRIVATE KEY-----"
ADMIN_FIREBASE_UID=your-admin-uid
# === Firebase Client (Frontend) ===
VITE_FIREBASE_API_KEY=your-firebase-api-key
VITE_FIREBASE_AUTH_DOMAIN=your-project.firebaseapp.com
VITE_FIREBASE_PROJECT_ID=your-project-id
VITE_FIREBASE_STORAGE_BUCKET=your-project.appspot.com
VITE_FIREBASE_MESSAGING_SENDER_ID=123456789
VITE_FIREBASE_APP_ID=1:123456789:web:abcdef
# === AI ===
DEEPSEEK_API_KEY=your-deepseek-key
DEEPSEEK_BASE_URL=https://api.deepseek.com
# === Docker Simulator ===
DOCKER_IMAGE=gcc:latest
DOCKER_MEMORY_LIMIT=128m
DOCKER_CPU_LIMIT=0.5
# === Frontend ===
VITE_API_URL=http://localhost:3002
VITE_APP_ENV=development
# === CORS ===
CORS_ORIGINS=http://localhost:5174