feat(sandbox): add Python 3 code execution sandbox support
This commit is contained in:
20
sandbox/config.yaml
Normal file
20
sandbox/config.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
app:
|
||||
port: 8194
|
||||
debug: true
|
||||
key: redbear-sandbox
|
||||
|
||||
max_workers: 4
|
||||
max_requests: 50
|
||||
worker_timeout: 30
|
||||
python_path: /usr/local/bin/python
|
||||
nodejs_path: /usr/local/bin/node
|
||||
enable_network: true
|
||||
enable_preload: false
|
||||
python_deps_update_interval: 30m
|
||||
|
||||
allowed_syscalls: []
|
||||
|
||||
proxy:
|
||||
socks5: ''
|
||||
http: ''
|
||||
https: ''
|
||||
Reference in New Issue
Block a user