-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
88 lines (67 loc) · 3.02 KB
/
.env.example
File metadata and controls
88 lines (67 loc) · 3.02 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# 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
# ============================================================================
# Elastic APM Configuration
# ============================================================================
# Enable or disable Elastic APM
ELASTIC_APM_ENABLED=false
# Service name as it will appear in Elastic APM
ELASTIC_APM_SERVICE_NAME=commit-relay
# Elastic APM Server URL (e.g., https://your-deployment.apm.region.cloud.es.io:443)
ELASTIC_APM_SERVER_URL=https://your-apm-server-url:443
# Authentication: Use EITHER Secret Token (traditional) OR API Key (serverless)
# For Serverless Observability projects, use API Key
ELASTIC_APM_API_KEY=your-api-key-here
# For traditional Elastic Cloud deployments, use Secret Token
ELASTIC_APM_SECRET_TOKEN=your-secret-token-here
# Environment name (production, staging, development, etc.)
ELASTIC_APM_ENVIRONMENT=development
# Logging level for APM agent (trace, debug, info, warn, error, fatal)
ELASTIC_APM_LOG_LEVEL=info
# Capture request/response bodies (off, errors, transactions, all)
ELASTIC_APM_CAPTURE_BODY=errors
# Transaction sample rate (0.0 to 1.0, where 1.0 = 100%)
ELASTIC_APM_TRANSACTION_SAMPLE_RATE=1.0
# ============================================================================
# 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 commit-relay
REPOS_PATH=./repos
# Default git author for commits
GIT_AUTHOR_NAME=Commit Relay Bot
GIT_AUTHOR_EMAIL=bot@commit-relay.local
# ============================================================================
# Worker Configuration
# ============================================================================
# Maximum number of concurrent workers
MAX_WORKERS=10
# 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