Deployment Quickstart¶
Reference Docker deployment for the full Opencomplai platform.
Warning
Never commit your .env file. It contains database credentials.
Prerequisites¶
- Docker 24+
- Docker Compose v2
- 4 GB RAM
- 10 GB free disk
Clone and configure¶
Edit infra/compose/.env — at minimum you must set POSTGRES_PASSWORD or the stack will refuse to start:
See Configuration for the full env-var reference.
Start the stack¶
Verify all services are healthy¶
Service ports (default)¶
| Service | Port | Description |
|---|---|---|
| gateway-api | 8080 | Main entry point — all external traffic |
| risk-engine | 8001 | Risk classification (internal only) |
| evidence-vault | 8002 | Append-only Merkle ledger + CAS (internal only) |
| doc-generator | 8003 | Annex IV dossier generator (internal only) |
| egress-proxy | 8004 | Allowlisted outbound enforcer (internal only) |
| prometheus | 9090 | Metrics scraper (host-accessible) |
| grafana | 3001 | Operator dashboards (host-accessible) |
Run a compliance check against the stack¶
Stop the stack¶
Air-gap mode¶
Set EGRESS_ALLOWED_DESTINATIONS= (empty) in infra/compose/.env to disable all outbound traffic. All compliance checks run fully locally. See Air-gap.