-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
57 lines (45 loc) · 1.92 KB
/
.env.example
File metadata and controls
57 lines (45 loc) · 1.92 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
46
47
48
49
50
51
52
53
54
55
56
57
# Commit-Relay Environment Configuration
# ============================================================================
# API Server Configuration
# ============================================================================
API_PORT=5001
DASHBOARD_PORT=5001
NODE_ENV=development
# ============================================================================
# Security Configuration
# ============================================================================
# API key for authentication (generate a strong random key)
API_KEY=your-api-key-here
# Allowed origins for CORS (comma-separated)
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5001
# ============================================================================
# LLM Configuration (for MoE routing)
# ============================================================================
# Anthropic API key for Claude agents
ANTHROPIC_API_KEY=your-anthropic-api-key-here
# ============================================================================
# Repository Configuration
# ============================================================================
# Path to repositories managed by cortex
REPOS_PATH=./repos
# Default git author for commits
GIT_AUTHOR_NAME=Commit Relay Bot
GIT_AUTHOR_EMAIL=bot@cortex.local
# ============================================================================
# Worker Configuration
# ============================================================================
# Maximum number of concurrent workers (set to 10000 for unlimited scale)
MAX_WORKERS=10000
# Worker timeout in minutes
WORKER_TIMEOUT_MINUTES=45
# Token budget per worker
WORKER_TOKEN_BUDGET=10000
# ============================================================================
# Monitoring & Logging
# ============================================================================
# Enable debug logging
DEBUG=false
# Log directory
LOG_DIR=./logs
# Metrics retention (days)
METRICS_RETENTION_DAYS=30