-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
63 lines (47 loc) · 1.72 KB
/
.env.example
File metadata and controls
63 lines (47 loc) · 1.72 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
# Evalify Evaluator - Environment Variables Configuration
# Copy this file to .env and adjust values for your environment
# ===== CORE APPLICATION SETTINGS =====
# Redis Configuration
# Redis connection URL for job state management and task queues
# Format: redis://[username:password@]host:port/database
# Default: redis://localhost:6379/0
REDIS_URL=redis://localhost:6379/0
# Evalify Next.js Application (Evaluation API)
# Base URL for the Evalify frontend where /api/eval routes live
# Default: http://localhost:3000
EVALIFY_URL=http://localhost:3000/api/utils/
# Evalify Evaluation API authentication key
# API key forwarded via the API_KEY header when calling /api/eval/* endpoints
# Default: api_key
EVALUATION_SERVICE_API_KEY=api_key
# Judge0 API base URL / host:port for code execution
# Default: http://localhost:2358
JUDGE_API=http://localhost:2358
# ===== OPTIONAL DEPLOYMENT SETTINGS =====
# (Uncomment and configure for production deployment)
# Server Configuration
# HOST=0.0.0.0
# PORT=4040
# Environment Mode
# ENVIRONMENT=production # development, staging, production
# Logging Configuration
# LOG_LEVEL=INFO # DEBUG, INFO, WARNING, ERROR, CRITICAL
# CORS Settings (for frontend integration)
# ALLOWED_ORIGINS=http://localhost:3000,http://localhost:3001
# ALLOWED_METHODS=GET,POST,PUT,DELETE,OPTIONS
# ALLOWED_HEADERS=*
# Database Connection Pool Settings
# REDIS_MAX_CONNECTIONS=10
# REDIS_RETRY_ON_TIMEOUT=true
# ===== MONITORING & OBSERVABILITY =====
# (Future implementation)
# Metrics and Health Checks
# METRICS_ENABLED=true
# HEALTH_CHECK_TIMEOUT=30
# External Service Timeouts
# API_REQUEST_TIMEOUT=30
# LLM_API_TIMEOUT=120
# ===== DEVELOPMENT SETTINGS =====
# (For local development only)
# Debug Mode
# DEBUG_MODE=false