Docker Compose is the quickest way to try LangWatch locally. It runs the full stack in containers on your machine.Documentation Index
Fetch the complete documentation index at: https://langwatch.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Docker with Docker Compose v2
- 4 CPU cores, 8 GB RAM, 20 GB disk
Quick Start
Services
Docker Compose starts the following services:| Service | Image | Port | Description |
|---|---|---|---|
app | langwatch/langwatch:latest | 5560 | Main application |
workers | langwatch/langwatch:latest | — | Background job processing |
langwatch_nlp | langwatch/langwatch_nlp:latest | 5561 | NLP processing, workflows |
langevals | langwatch/langevals:latest | 5562 | Evaluators, guardrails |
postgres | postgres:16 | 5432 | Control plane database |
redis | redis:alpine | — | Job queue, caching |
clickhouse | langwatch/clickhouse-serverless:0.2.0 | 8123 | Trace and analytics storage |
Configuration
Editlangwatch/.env to customize your deployment. Key variables:
Common Operations
Start in the background
View logs
Stop services
Update to latest version
Reset data
Customization
Disable optional services
If you don’t need NLP or evaluators, comment them out incompose.yml:
Connect to external databases
Replace thepostgres and redis services with connection strings to your existing instances:
Connect to external ClickHouse
Replace theclickhouse service with a connection string to your existing instance:
Limitations
Docker Compose is suitable for evaluation and small teams but lacks:- High availability — single instance of each service
- Horizontal scaling — cannot scale workers independently
- Automated backups — no built-in backup scheduling
- TLS — no built-in HTTPS (use a reverse proxy like nginx or Caddy)
Next Steps
- Docker Images — Learn about each container image
- Kubernetes (Helm) — Production deployment
- Environment Variables — Full configuration reference