update docker yml to en

This commit is contained in:
yifeng.wang 2025-03-17 17:25:11 +08:00
parent 3334bee159
commit 3c5ba9de15

View File

@ -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: