# 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