feat: add microsandbox

This commit is contained in:
Sun-ZhenXing
2026-01-03 17:10:41 +08:00
parent 25c618aa2e
commit 5b5ffed819
9 changed files with 551 additions and 2 deletions

View File

@@ -0,0 +1,32 @@
# MicroSandbox Configuration
# KVM-based secure sandbox environment
# Global registry prefix (optional)
# Leave empty to pull from Docker Hub
GLOBAL_REGISTRY=
# MicroSandbox version
# Default: 0.2.6
MICROSANDBOX_VERSION=0.2.6
# Auto pull base images on build
# Default: true
MICROSANDBOX_AUTO_PULL_IMAGES=true
# Timezone
# Default: UTC
TZ=UTC
# ============================================
# Resource Limits
# ============================================
# CPU limits
# MicroSandbox requires more CPU for KVM virtualization
MICROSANDBOX_CPU_LIMIT=4.00
MICROSANDBOX_CPU_RESERVATION=1.00
# Memory limits
# MicroSandbox requires more memory for running VMs
MICROSANDBOX_MEMORY_LIMIT=4G
MICROSANDBOX_MEMORY_RESERVATION=1G