feat(sandbox): add Node.js code execution support to sandbox

This commit is contained in:
Eternity
2026-01-30 12:08:34 +08:00
parent ee50b25d06
commit 36e0ed15b6
35 changed files with 820 additions and 314 deletions

View File

@@ -1,13 +1,11 @@
app:
port: 8194
debug: true
key: redbear-sandbox
max_workers: 4
max_requests: 50
worker_timeout: 30
max_workers: 10
max_requests: 300
worker_timeout: 15
python_path: /usr/local/bin/python
nodejs_path: /usr/local/bin/node
nodejs_path: /usr/bin/node
enable_network: true
enable_preload: false
python_deps_update_interval: 30m