-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
38 lines (30 loc) · 1.07 KB
/
Copy path.env.example
File metadata and controls
38 lines (30 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
# Code Interpreter Configuration
# Copy this file to .env and modify as needed:
# cp .env.example .env
#
# docker-compose will automatically read .env on startup and restart.
# This ensures configuration persists across Docker daemon restarts.
# --- Authentication ---
# Custom API key. Leave empty to auto-generate on first start.
# The generated token is persisted in the gateway_data volume.
AUTH_TOKEN=
# --- Worker Pool Sizing ---
# Minimum number of idle workers kept warm in the pool
MIN_IDLE_WORKERS=2
# Maximum total workers (idle + active) allowed
MAX_TOTAL_WORKERS=8
# --- Per-Worker Resource Limits ---
# CPU cores allocated per worker
WORKER_CPU=1.5
# RAM in MB per worker
WORKER_RAM_MB=1536
# Virtual disk size in MB per worker
WORKER_MAX_DISK_SIZE_MB=500
# --- Network & Security ---
# Enable internet access for workers (true/false)
# WARNING: Enabling this is a SECURITY RISK!
# Workers can access the public internet (private IPs are blocked).
WORKER_INTERNET_ACCESS=false
# --- Image Configuration ---
# Docker image tag to use (e.g., latest, v1.0.0)
IMAGE_TAG=latest