Dattavani Backend: Deployment

Dattavani Backend: Deployment An architecture diagram generated by Archify. Release owner · manual Run workflow · Architecture component Release owner manual Run workflow Deploy Backend Production · GitHub Actions · Architecture component · workflow_dispatch Deploy Backend Production GitHub Actions workflow_dispatch terraform-staging · registry + SSH key · Architecture component terraform-staging registry + SSH key Deploy Backend Staging · password SSH · Architecture component Deploy Backend Staging password SSH Terraform apply · terraform-production · Architecture component Terraform apply terraform-production Terraform state · R2 bucket · S3 backend · Architecture component Terraform state R2 bucket · S3 backend DO Container Registry · core-service image · Architecture component · :sha · :production-latest DO Container Registry core-service image :sha · :production-latest Staging VPS · compose + Caddy · Architecture component Staging VPS compose + Caddy Mobile app + admin · api.dattavani.ai · Architecture component Mobile app + admin api.dattavani.ai Global load balancer · api.dattavani.ai · LE cert · DigitalOcean production · blr1 + nyc1 Global load balancer api.dattavani.ai · LE cert blr1 regional LB · 443 → 8000 · DigitalOcean production · blr1 + nyc1 blr1 regional LB 443 → 8000 nyc1 regional LB · 443 → 8000 · DigitalOcean production · blr1 + nyc1 nyc1 regional LB 443 → 8000 Droplet pools · Caddy :8000 → core-service · DigitalOcean production · blr1 + nyc1 › Firewall: :8000 from LB only · :22 open · blr1 3–6 · nyc1 2–6 Droplet pools Caddy :8000 → core-service blr1 3–6 · nyc1 2–6 Supabase · migrations applied by hand · Architecture component Supabase migrations applied by hand Observability · New Relic · logs in R2 · Architecture component Observability New Relic · logs in R2 Run workflow Run workflow tar + compose up terraform apply state provisions push image creates docker pull SSH redeploy HTTPS HTTPS HTTPS :8000 · blr1 :8000 · nyc1 REST · RPC APM · logs DigitalOcean production · blr1 + nyc1 Firewall: :8000 from LB only · :22 open Legend Backend Database Cloud External