# OpenSandbox Configuration
# A general-purpose sandbox platform for AI applications

# Global registry prefix for all images (optional)
# Example: GLOBAL_REGISTRY=registry.example.com/
GLOBAL_REGISTRY=

# Timezone setting
TZ=UTC

# ========================================
# OpenSandbox Server Configuration
# ========================================

# OpenSandbox server image version
# Default: v1.0.5
OPENSANDBOX_SERVER_VERSION=v1.0.5

# OpenSandbox server port override (host port mapping)
# Default: 8080
OPENSANDBOX_SERVER_PORT_OVERRIDE=8080

# Docker socket path (for sandbox container creation)
# Default: unix:///var/run/docker.sock
# On macOS with Colima: unix://${HOME}/.colima/default/docker.sock
DOCKER_HOST=unix:///var/run/docker.sock

# ========================================
# Resource Limits
# ========================================

# OpenSandbox Server CPU limit
# Default: 2.0 (2 CPU cores)
OPENSANDBOX_SERVER_CPU_LIMIT=2.0

# OpenSandbox Server CPU reservation
# Default: 1.0 (1 CPU core)
OPENSANDBOX_SERVER_CPU_RESERVATION=0.1

# OpenSandbox Server memory limit
# Default: 2G
OPENSANDBOX_SERVER_MEMORY_LIMIT=2G

# OpenSandbox Server memory reservation
# Default: 1G
OPENSANDBOX_SERVER_MEMORY_RESERVATION=1G