Skip to content

Docker Compose ​

Servisler ​

deploy/compose/docker-compose.yml:

ServisPortlarVolume
postgres5432vion-pg
control-plane8080viewnova-config → /etc/viewnova
runtime-core8081, 50051aynı 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.toml
  • VION_RESTART_POLICY=supervised
  • VION_STUDIO_DIR — Studio dist yolu
  • VION_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.