66OPENAI_API_KEY = sk-...
77
88# Embedding Model (Optional)
9- # Options: text-embedding-3-small (faster, cheaper), text-embedding-3-large (better quality)
10- # Default: text-embedding-3-large
11- EMBEDDING_MODEL = text-embedding-3-large
9+ # Options: text-embedding-3-small (default, faster/cheaper), text-embedding-3-large (better quality)
10+ EMBEDDING_MODEL = text-embedding-3-small
1211
13- # Pinecone API (Required)
12+ # Pinecone API (Required)
1413# Get from: https://app.pinecone.io/
1514PINECONE_API_KEY = pcsk_...
1615PINECONE_INDEX_NAME = codeintel
@@ -19,13 +18,16 @@ PINECONE_INDEX_NAME=codeintel
1918# Get from: https://app.supabase.com/project/_/settings/api
2019SUPABASE_URL = https://your-project.supabase.co
2120SUPABASE_ANON_KEY = eyJ...
22- # From Project Settings -> API -> JWT Secret
2321SUPABASE_JWT_SECRET = your-jwt-secret
24- # From Project Settings -> API -> service_role key
2522SUPABASE_SERVICE_ROLE_KEY = eyJ...
2623
27- # Backend API
28- API_KEY = change-this-secret-key-for-production
24+ # Development API Key (Optional -- dev/test only, ignored in production)
25+ # Used to bypass JWT auth when DEBUG=true. Never set in production.
26+ DEV_API_KEY =
27+ DEBUG = false
28+ LOG_LEVEL = INFO
29+
30+ # Backend API URL (used by MCP server and frontend)
2931BACKEND_API_URL = http://backend:8000
3032FRONTEND_URL = http://localhost:3000
3133
@@ -37,31 +39,28 @@ GITHUB_REDIRECT_URI=http://localhost:3000/auth/github/callback
3739
3840# CORS Configuration (Security)
3941# Comma-separated list of allowed origins
40- # Development: http://localhost:3000
41- # Production: https://your-app.vercel.app,https://your-domain.com
4242ALLOWED_ORIGINS = http://localhost:3000
4343
4444# Redis (auto-configured in Docker, set REDIS_URL in Railway)
4545REDIS_HOST = redis
4646REDIS_PORT = 6379
47+ REDIS_URL =
4748
4849# Sentry Error Tracking (Optional but recommended for production)
4950# Get DSN from: https://sentry.io -> Settings -> Projects -> Client Keys
5051SENTRY_DSN =
5152SENTRY_SEND_PII = false
5253SENTRY_INCLUDE_LOCAL_VARS = false
53- ENVIRONMENT = development # development, staging, production
54+ ENVIRONMENT = development
5455
55- # Discord Webhook (Optional - for feedback notifications)
56+ # Discord Webhook (Optional -- for feedback notifications)
5657DISCORD_FEEDBACK_WEBHOOK =
5758
58- # Search V2 Configuration
59- # Cohere API for reranking (Optional - improves search quality)
59+ # Cohere API for reranking (Optional -- improves search quality)
6060# Get from: https://dashboard.cohere.com/api-keys
61- # Free tier: 10K requests/month
6261COHERE_API_KEY =
6362SEARCH_V2_ENABLED = true
6463
65- # Voyage AI - code-specific embeddings (Optional - improves code search quality )
64+ # Voyage AI (Optional -- code-specific embeddings for better search)
6665# Get from: https://dash.voyageai.com/
6766VOYAGE_API_KEY =
0 commit comments