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
| Port | Purpose | Where | Exposure |
|---|---|---|---|
| 22 | SSH | Server | Public (management) |
| 80 | HTTP / certificate validation | Nginx | Public |
| 443 | HTTPS | Nginx | Public |
| 8069 | ERP HTTP | Container; server 127.0.0.1:HOST→8069 | Loopback only |
| 8071 | Watched by policy | Not published | Blocked if it appears public |
| 8072 | Realtime (evented) | Container; server 127.0.0.1:HOST→8072 | Loopback only; blocked if it appears public |
| 5432 | PostgreSQL | Docker network | Inside 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.