-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
37 lines (29 loc) · 878 Bytes
/
Copy path.env.example
File metadata and controls
37 lines (29 loc) · 878 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
# Server Configuration
PORT=4000
NODE_ENV=development
# Worker Configuration
# Keep concurrency LOW on the 1GB Oracle box: each job spawns a Docker
# container (128MB each) plus Docker daemon + Redis + Node overhead.
WORKERS=1
EXEC_TIMEOUT_MS=2000
MAX_CONCURRENT=2
MAX_QUEUE=200
# Sandbox Configuration
# Per-container memory limit. 128m is safe on a 1GB host; raise only on bigger VMs.
SANDBOX_MEMORY=128m
# Job Storage
JOB_TTL_SECONDS=86400
# Redis Configuration
REDIS_URL=redis://localhost:6379
# Security Configuration
DISABLE_GVISOR=false
# JWT Authentication
JWT_SECRET=your-secret-key-change-this-in-production
JWT_EXPIRES_IN=15m
REFRESH_TOKEN_EXPIRES_IN=7d
# Admin Credentials (for testing - set these to match your seeded admin user)
ADMIN_USERNAME=admin_username
ADMIN_PASSWORD=admin_password
# Monitoring (Optional)
# PROMETHEUS_PORT=9090
# GRAFANA_PORT=3000