TBC/docker-compose.yml
d-robotics 633a797226 AutoFlow v2.0: 合并 Test (Robogo) + data-loop-automation (D-Cloud) 为统一平台
- 16 个业务模块,856 个测试用例,40 个 E2E 测试
- 单一 React 19 前端 + PlatformSwitcher 二合一切换
- Flask 后端支持 scenario/dcloud_module/dcloud_e2e/dcloud_all 四种任务类型
- E2E 测试面板:API 全链路(8条) + UI 点击(3条) + 分步测试(3个)
- SSE 实时日志流 + 飞书告警 + 定时调度
- 完整还原原 ToB 平台 TestPanel E2E 模块
2026-06-23 11:48:29 +08:00

40 lines
994 B
YAML

# Docker Compose for Unified Test Platform
# Usage:
# docker compose build # Build image
# docker compose run tests # Run all tests
# docker compose run --rm tests pytest -m smoke
# docker compose run --rm tests pytest tests/data_space/ -v
# docker compose up platform # Start the web platform
version: "3.9"
services:
tests:
build: .
image: unified-test-platform:latest
volumes:
- ./reports:/app/reports
- ./logs:/app/logs
- ./screenshots:/app/screenshots
- ./.auth:/app/.auth
env_file:
- .env
stdin_open: true
tty: true
platform:
build: .
image: unified-test-platform:latest
command: python -m backend.app
ports:
- "5001:5001"
volumes:
- ./reports:/app/reports
- ./logs:/app/logs
- ./screenshots:/app/screenshots
- ./.auth:/app/.auth
- ./backend/db.json:/app/backend/db.json
env_file:
- .env
stdin_open: true
tty: true