-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (21 loc) · 945 Bytes
/
Copy path.env.example
File metadata and controls
30 lines (21 loc) · 945 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
# ----------------------------------------
# CodeGraph Environment Variables
# ----------------------------------------
# --- BACKEND ---
# GitHub Personal Access Token (Required for API limits)
GITHUB_TOKEN=your_github_personal_access_token
# Groq API Key (Required for fast LLM enrichment)
GROQ_API_KEY=your_groq_api_key
# Mistral API Key (Required fallback if Groq rate limits)
MISTRAL_API_KEY=your_mistral_api_key
# Max Python files to process before aborting (default 60)
MAX_FILES=60
# Cache directory location
CACHE_DIR=./cache
# Allowed frontend origins for CORS (comma separated)
ALLOWED_ORIGINS=http://localhost:5173,http://localhost:3000,http://127.0.0.1:5173,http://127.0.0.1:3000
# Port for the FastAPI server (default 8000, overridden by Railway in production)
PORT=8000
# --- FRONTEND ---
# The URL of your deployed backend API (used in frontend/.env.local or frontend/.env.production)
VITE_API_URL=http://localhost:8000