mirror of
https://github.com/camel-ai/owl.git
synced 2025-12-26 10:07:51 +08:00
update docker yml to en
This commit is contained in:
parent
3334bee159
commit
3c5ba9de15
@ -10,13 +10,13 @@ services:
|
||||
dockerfile: .container/Dockerfile
|
||||
|
||||
volumes:
|
||||
# 挂载.env文件,方便配置API密钥
|
||||
# Mount .env file for easy API key configuration
|
||||
- ../owl/.env:/app/owl/.env
|
||||
# 挂载example文件夹,以支持docker容器内运行代码案例
|
||||
# Mount examples folder to support running code examples inside the Docker container
|
||||
- ../examples:/app/examples
|
||||
# 挂载数据目录
|
||||
# Mount data directory
|
||||
- ./data:/app/owl/data
|
||||
# 挂载缓存目录,避免重复下载
|
||||
# Mount cache directories to avoid repeated downloads
|
||||
- ~/.cache/pip:/root/.pip/cache
|
||||
- ~/.cache/playwright:/root/.cache/ms-playwright
|
||||
environment:
|
||||
@ -32,13 +32,13 @@ services:
|
||||
stdin_open: true
|
||||
tty: true
|
||||
shm_size: 2gb
|
||||
# 简化资源限制
|
||||
# Simplify resource limits
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 4G
|
||||
|
||||
# 定义持久化卷,用于缓存 | Define persistent volumes for caching
|
||||
# Define persistent volumes for caching
|
||||
volumes:
|
||||
playwright-cache:
|
||||
pip-cache:
|
||||
pip-cache:
|
||||
Loading…
x
Reference in New Issue
Block a user