GitHub

On this page

Infrastructure Diagrams

Reference visuals for how our infrastructure and deployment flow fit together.

Deployment Flow (Orcta Runtime)

             ┌───────────────────────┐
             │       GitHub Repo     │
             │  (main & dev branches)│
             └───────────┬───────────┘
                         │
                    Push triggers webhook
                         │
                         ▼
             ┌───────────────────────┐
             │    Orcta Runtime      │
             │  runtime.orctatech.com│
             └───────────┬───────────┘
                         │
                   docker compose
                         │
                         ▼
     ┌─────────────────────────────────────────┐
     │                 VPS                     │
     │   (Ubuntu + Docker + Docker Compose)    │
     │                                         │
     │  ┌───────────────────────────────────┐  │
     │  │      Shared Docker Network        │  │
     │  │         `orcta-net`               │  │
     │  │                                   │  │
     │  │  ┌─────────────┐   ┌────────────┐ │  │
     │  │  │   app1      │   │   app2     │ │  │
     │  │  │ dockerized  │   │ dockerized │ │  │
     │  │  │ service     │   │ service    │ │  │
     │  │  └─────┬───────┘   └──────┬─────┘ │  │
     │  │        │                  │       │  │
     │  │        ▼                  ▼       │  │
     │  │   postgres://app1_db   postgres://app2_db
     │  │                                   │  │
     │  │        ┌───────────────────┐      │  │
     │  │        │   PostgreSQL DB   │      │  │
     │  │        │   dockerized      │      │  │
     │  │        │   per-app roles   │      │  │
     │  │        └───────────────────┘      │  │
     │  └───────────────────────────────────┘  │
     │                                         │
     │ Backups → /srv/orcta/postgres/backups/  │
     └─────────────────────────────────────────┘

Caddy Reverse Proxy

Internet
   │
   ▼
Caddy (TLS + routing)
   │
   ├── runtime.orctatech.com → localhost:9010 (Orcta Runtime)
   ├── logdeck.orctatech.com → localhost:8123 (LogDeck)
   ├── pss.orctatech.com → localhost:3000
   ├── ames.orctatech.com → localhost:3002
   ├── api.pss.orctatech.com → localhost:9999
   └── ... (15+ sites)

Monitoring Stack

┌─────────────────────────────────────────────────────┐
│                   Monitoring                        │
│                                                     │
│  ┌─────────────┐  ┌─────────────┐  ┌─────────────┐ │
│  │   Lookout   │  │   LogDeck   │  │   Orcta     │ │
│  │  (systemd)  │  │  (docker)   │  │  Runtime    │ │
│  │             │  │             │  │  (docker)   │ │
│  │ • CPU/RAM   │  │ • Logs      │  │ • Deploys   │ │
│  │ • Disk      │  │ • Alerts    │  │ • Rollback  │ │
│  │ • Docker    │  │ • History   │  │ • Hooks     │ │
│  │ • TCP checks│  │             │  │             │ │
│  └──────┬──────┘  └──────┬──────┘  └──────┬──────┘ │
│         │                │                │         │
│         │    webhook     │                │         │
│         └───────────────►└────────────────┘         │
│                                                     │
└─────────────────────────────────────────────────────┘

Database Backup Flow

Postgres container
   │
   │ pg_dumpall
   ▼
/srv/orcta-postgres/backups/db_<timestamp>.sql
   │
   ▼
Offsite or cold storage (manual or scheduled)
Edit this page
Last modified: 2026-08-03