# MicroSandbox Configuration
# KVM-based secure sandbox environment

# Global registry prefix (optional)
# Leave empty to use ghcr.io/zerocore-ai/microsandbox
GLOBAL_REGISTRY=

# MicroSandbox version
# Default: latest (recommended to use latest stable version)
# Set to empty string to always pull the latest version
MICROSANDBOX_VERSION=latest

# Debian base image version
# Default: 13.2-slim
DEBIAN_VERSION=13.2-slim

# Auto pull base images on build (Python, Node.js SDKs)
# Default: true
MICROSANDBOX_AUTO_PULL_IMAGES=true

# Development mode (disables API key requirements)
# Default: true (for easier testing)
# Set to false in production environments
MICROSANDBOX_DEV_MODE=true

# Timezone
# Default: UTC
TZ=UTC

# ============================================
# Port Configuration
# ============================================

# Internal port (inside container)
# Default: 5555
MICROSANDBOX_PORT=5555

# External port (host machine)
# Default: 5555
MICROSANDBOX_PORT_OVERRIDE=5555

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

# CPU limits
# MicroSandbox requires more CPU for KVM virtualization
MICROSANDBOX_CPU_LIMIT=4.0
MICROSANDBOX_CPU_RESERVATION=0.1

# Memory limits
# MicroSandbox requires more memory for running VMs
MICROSANDBOX_MEMORY_LIMIT=4G
MICROSANDBOX_MEMORY_RESERVATION=1G