Docker Compose
Servisler
deploy/compose/docker-compose.yml:
| Servis | Portlar | Volume |
|---|---|---|
postgres | 5432 | vion-pg |
control-plane | 8080 | viewnova-config → /etc/viewnova |
runtime-core | 8081, 50051 | aynı config volume |
İmaj: deploy/docker/Dockerfile (Node 22 Studio build → Rust 1.88 → Debian slim, kullanıcı viewnova).
Başlatma
powershell
.\scripts\up.ps1.env (gitignored) ilk seferde POSTGRES_PASSWORD ile üretilir. Migrations control-plane açılışında çalışır.
Önemli env (Compose):
VION_CONFIG_FILE=/etc/viewnova/vion.tomlVION_RESTART_POLICY=supervisedVION_STUDIO_DIR— Studio dist yoluVION_ALLOW_INSECURE_HTTP=true(yalnız yerel)
historian-writer Compose’ta yoktur; ayrı kurulum.
Sağlık
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 yanıtında configHash, restartRequired, setupRequired alanları bulunabilir.