Skip to content

Commit ed8229a

Browse files
committed
feat: add performance requirements for Agent Sandbox Environment documentation
1 parent d747c8f commit ed8229a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

zh/use/astrbot-agent-sandbox.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111

1212
目前,沙盒环境仅支持通过 Docker 来运行。我们目前使用了 [Shipyard](https://github.com/AstrBotDevs/shipyard) 项目作为 AstrBot 的沙盒环境驱动器。未来,我们会支持更多类型的沙盒环境驱动器,如 e2b。
1313

14+
## 性能要求
15+
16+
AstrBot 给每个沙盒环境限制最高 1 CPU 和 512 MB 内存。
17+
18+
我们建议您的宿主机至少有 2 个 CPU 和 4 GB 内存,并开启 Swap,以保证多个沙盒环境实例可以稳定运行。
19+
1420
### 使用 Docker Compose 部署 AstrBot 和 Shipyard
1521

1622
如果您还没有部署 AstrBot,或者想更换为我们推荐的带沙盒环境的部署方式,推荐使用 Docker Compose 来部署 AstrBot,代码如下:

0 commit comments

Comments
 (0)