qwen_agent/docker-compose.yml
朱潮 425f3c5bb4 chore: replace Chinese comments and log messages with English
Convert all Chinese comments, docstrings, logger/print output,
HTTPException detail messages, and API response messages to English
across the entire codebase. Functional zh/ja localized strings
(e.g. prompt templates, timezone display names, date formats) are
preserved as-is.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-30 19:45:35 +08:00

28 lines
676 B
YAML

version: "3.8"
services:
qwen-agent:
build:
context: .
dockerfile: Dockerfile.modelscope
container_name: qwen-agent-api
ports:
- "8001:8001"
environment:
# Application configuration
- BACKEND_HOST=http://api-dev.gbase.ai
- MAX_CONTEXT_TOKENS=262144
- R2_UPLOAD_CONFIG=/app/config/s3-upload-sparticle.yaml
volumes:
# Mount project data directories
- ./projects:/app/projects
- ./public:/app/public
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8001/api/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s