Docker Deployment¶
Quick Start¶
Open http://localhost:8765.
To stop:
What's included¶
The docker-compose.yml runs Strata in personal mode with:
- Frontend built and served by the backend
- Persistent notebook storage via a named volume
- Persistent cache and metadata via a named volume
- Health check on
/health
Volumes¶
| Volume | Mount point | Purpose |
|---|---|---|
strata-state |
/home/strata/.strata |
Cache, metadata DB, artifacts |
strata-notebooks |
/tmp/strata-notebooks |
Notebook directories |
Data persists across docker compose down/up cycles. To reset completely:
Environment variables¶
Override defaults in docker-compose.yml or via .env file:
environment:
- STRATA_HOST=0.0.0.0
- STRATA_PORT=8765
- STRATA_DEPLOYMENT_MODE=personal
- STRATA_CACHE_DIR=/home/strata/.strata/cache
See Configuration Reference for all options.
Building the image manually¶
docker build -t strata .
docker run --rm -p 8765:8765 \
-v strata_state:/home/strata/.strata \
strata
The multi-stage Dockerfile:
- Frontend builder (Node 25) — builds the Vue.js UI
- Backend builder (Python + Rust) — builds the wheel with native extension
- Runtime — minimal image with the wheel and frontend dist