Skip to content

Infrastructure

Networking

Topology and ports

How traffic flows (Production)

Internet clients
    │
    ▼
Nginx :80 / :443  (PUBLIC)
    │  proxy_pass http://127.0.0.1:<HOST_PORT>
    ▼
ERP container port 8069  (published on loopback only)
    │
    ▼
PostgreSQL :5432  (inside Docker only, never public)

Ports

PortPurposeWhereExposure
22SSHServerPublic (management)
80HTTP / certificate validationNginxPublic
443HTTPSNginxPublic
8069ERP HTTPContainer; server 127.0.0.1:HOST→8069Loopback only
8071Watched by policyNot publishedBlocked if it appears public
8072Realtime (evented)Container; server 127.0.0.1:HOST→8072Loopback only; blocked if it appears public
5432PostgreSQLDocker networkInside Docker only, never public

Soviez assigns each environment its own loopback ports on the server (for example 127.0.0.1:18069 → container 8069 and 127.0.0.1:18072 → container 8072).

Rules

8069 is never a public endpoint.

5432 is never public.

Never "fix" WebSocket by publishing 8069 or 8072.

Quarantine, Stage and offline

  • Quarantine runs with restricted networking.
  • Each Stage has its own containers and domain, with the same private-backend rules.
  • Offline servers use the same local Nginx, ERP and PostgreSQL layout.