# Docker Lab Walkthrough

> Stand up the full Xisom stack locally with Docker Compose for evaluation and integration testing.

This walkthrough mirrors the production deployment topology on a single host — handy
for evaluation and integration testing before you deploy to an edge box.

## What you'll build

- Inference runtime (ONNX/TensorRT)
- Datasource gateway with MQTT broker
- Web dashboard
- Postgres for metadata + Redis for cache

## Steps

1. Clone the lab repo.
2. Copy `.env.example` to `.env` and set `XISOM_LICENSE_KEY`.
3. `docker compose --profile full up -d`
4. Wait for `health: ok` on all services.
5. Open the dashboard and run the seed script.

## Verify

- Open **Observability → Inference Stats** — you should see traffic from the seed model.
- Trigger the synthetic anomaly: `make synthetic-anomaly` — alerts panel lights up.

## Tear down

```bash
docker compose down -v
```

## If something goes wrong

Services not reaching `health: ok`, or no traffic in the dashboard — see the
[Troubleshooting](/troubleshooting/) runbook.
