-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
49 lines (40 loc) · 971 Bytes
/
.env.example
File metadata and controls
49 lines (40 loc) · 971 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
40
41
42
43
44
45
46
47
48
49
# ============================================
# Context8 Environment Variables
# ============================================
# Server
PORT=3000
MCP_PORT=3001
NODE_ENV=development
# PostgreSQL
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/context8?schema=public
# Redis
REDIS_URL=redis://localhost:6379
# Qdrant
QDRANT_HOST=localhost
QDRANT_PORT=6333
QDRANT_API_KEY=
QDRANT_COLLECTION=codebase_v1
# GitHub App
GITHUB_APP_ID=
GITHUB_PRIVATE_KEY=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_WEBHOOK_SECRET=
# For GitHub Enterprise (optional)
GITHUB_ENTERPRISE_URL=
# Embedding Service
EMBEDDING_PROVIDER=voyage # voyage | openai
VOYAGE_API_KEY=
OPENAI_API_KEY=
# Reranker
RERANKER_PROVIDER=cohere # cohere | none
COHERE_API_KEY=
# JWT
JWT_SECRET=your-super-secret-jwt-key-change-in-production
JWT_ISSUER=context8
JWT_AUDIENCE=context8-mcp
JWT_EXPIRES_IN=24h
# Rate Limiting
RATE_LIMIT_WINDOW_MS=60000
RATE_LIMIT_MAX=100
RATE_LIMIT_SEARCH_MAX=30