-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
49 lines (40 loc) · 1.07 KB
/
.env.example
File metadata and controls
49 lines (40 loc) · 1.07 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
# Relay Server Configuration
PORT=8080
HOST=localhost
# Security
MAX_MESSAGE_SIZE=1048576
RATE_LIMIT_WINDOW=60000
RATE_LIMIT_MAX=100
# Development
NODE_ENV=development
DEBUG=false
LOG_LEVEL=info
# Optional: Remote Access (use with caution)
# ALLOW_REMOTE=false
# AUTH_TOKEN=your-secret-token-here
# Optional: Storage
# STORAGE_PATH=./agent-data
# SCREENSHOT_PATH=./screenshots
# Optional: Advanced Features
# ENABLE_ANALYTICS=true
# ENABLE_MONITORING=true
# MAX_CONNECTIONS=10
# Production Settings (uncomment for production)
# NODE_ENV=production
# LOG_LEVEL=warn
# ENABLE_CORS=true
# ALLOWED_ORIGINS=https://yourdomain.com
# SSL_CERT_PATH=/path/to/cert.pem
# SSL_KEY_PATH=/path/to/key.pem
# Monitoring & Observability
# HEALTH_CHECK_INTERVAL=30000
# METRICS_ENABLED=true
# ERROR_REPORTING_URL=https://your-error-service.com
# Performance Tuning
# WS_HEARTBEAT_INTERVAL=30000
# MESSAGE_QUEUE_SIZE=1000
# CLEANUP_INTERVAL=300000
# CONNECTION_TIMEOUT=120000
# Database (if needed for persistence)
# DATABASE_URL=postgresql://user:pass@localhost:5432/dbname
# REDIS_URL=redis://localhost:6379