Overview
Docker Compose provides the easiest way to run LiteAgent tests at scale. It handles all dependencies, networking, and parallel execution automatically.Quick Start
1
Prepare Environment
2
Build Images
3
Run Tests
Docker Compose Configuration
Service Overview
Each agent has its own service definition:Available Services
Service | Agent | Dockerfile | Special Requirements |
---|---|---|---|
browseruse | BrowserUse | Dockerfile.browseruse | OpenAI API key |
dobrowser | DoBrowser | Dockerfile.dobrowser | Browser profile setup |
multion | MultiOn | Dockerfile.multion | MultiOn API key |
agente | Agent E | Dockerfile.agente | Anthropic API key |
skyvern | Skyvern | Dockerfile.skyvern | PostgreSQL + webhook |
webarena | WebArena | Dockerfile.webarena | Conda environment |
visualwebarena | VisualWebArena | Dockerfile.visualwebarena | Vision models |
Running Individual Agents
Basic Usage
Environment Overrides
Parallel Execution
Using Replicas
Deploy multiple instances of the same agent:Using Scale Command
Worker ID Assignment
For parallel execution, assign unique worker IDs:Advanced Configuration
Custom Categories per Instance
Environment-Specific Configurations
Createdocker-compose.override.yml
:
Production Configuration
Createdocker-compose.prod.yml
:
Monitoring and Management
Viewing Logs
Service Management
Health Monitoring
Add health checks to services:Data Management
Volume Configuration
Backup Strategy
Networking
Internal Communication
Services can communicate using service names:External Access
Expose services for external access:Troubleshooting
Common Issues
Build failures
Build failures
Service won't start
Service won't start
Out of resources
Out of resources
Debug Mode
Run services in debug mode:Performance Optimization
Resource Limits
Parallel Optimization
Storage Optimization
CI/CD Integration
GitHub Actions
GitLab CI
Best Practices
1. Environment Management
2. Resource Planning
3. Graceful Shutdown
Next Steps
Parallel Execution
Advanced parallel testing strategies
Output Analysis
Analyzing results from Docker Compose runs
Docker Setup
Advanced Docker configuration