docker-compose.yml 965 B

12345678910111213141516171819202122232425
  1. # 编排配置
  2. # DeepSeek Harness Web Docker
  3. # 用法:cp .env.example .env(编辑 DSH_AUTH_USER/PASSWORD、DEEPSEEK_API_KEY)→ docker compose up -d --build
  4. # 配置、项目/会话数据与 agent 自装工具(x-cmd)持久化于 ./data(bind mount → /home/node 整个 HOME)
  5. #
  6. # Orchestration configuration
  7. # DeepSeek Harness Web Docker
  8. # Usage: cp .env.example .env (edit DSH_AUTH_USER/PASSWORD, DEEPSEEK_API_KEY) → docker compose up -d --build
  9. # Config, project/session data and agent-installed tools (x-cmd) persist in ./data (bind mount → the entire /home/node HOME)
  10. services:
  11. dsh-web:
  12. image: ghcr.io/xidong-ai/deepseek-harness-web-docker:latest
  13. build:
  14. context: .
  15. args:
  16. DSH_VERSION: ${DSH_VERSION:-0.1.0-rc.6}
  17. container_name: dsh-web
  18. restart: unless-stopped
  19. ports:
  20. - "${DSH_WEB_PORT:-3080}:3081"
  21. volumes:
  22. - ./data:/home/node
  23. env_file: .env
  24. environment:
  25. - HOME=/home/node