Docker Compose
Services
deploy/compose/docker-compose.yml:
| Service | Ports | Volume |
|---|---|---|
postgres | 5432 | vion-pg |
control-plane | 8080 | viewnova-config → /etc/viewnova |
runtime-core | 8081, 50051 | same config volume |
Image: deploy/docker/Dockerfile (Node 22 Studio build → Rust 1.88 → Debian slim, user viewnova).
Start
powershell
.\scripts\up.ps1.env (gitignored) is generated with POSTGRES_PASSWORD on first use. Migrations run when the control plane starts.
Important Compose env:
VION_CONFIG_FILE=/etc/viewnova/vion.tomlVION_RESTART_POLICY=supervisedVION_STUDIO_DIR— Studio dist pathVION_ALLOW_INSECURE_HTTP=true(local only)
historian-writer is not in Compose; see separate install.
Health
text
GET http://127.0.0.1:8080/health
GET http://127.0.0.1:8080/ready
GET http://127.0.0.1:8081/health/health may include configHash, restartRequired, setupRequired.