Installation with Docker
The full development stack builds the React operational UI and the .NET API in containers. PostgreSQL persists engine state. OPA provides authorization decisions. Other services support messaging, files, caching and local integration tests.
Prerequisites
- An existing local copy of the Duna project files, including its Compose configuration.
- Docker Engine or Docker Desktop with Compose.
- Available host ports for the enabled services.
docker compose up -d --buildDevelopment endpoints
| Service | Local address |
|---|---|
| Operational UI | http://localhost:8080 |
| REST API | http://localhost:5218 |
| API readiness | http://localhost:5218/health/ready |
| PostgreSQL | localhost:5432 |
| RabbitMQ management | http://localhost:15672 |
| Kafka host listener | localhost:29092 |
| OPA | http://127.0.0.1:8181 |
If PostgreSQL’s host port is taken, Duna supports PF_PG_HOST_PORT. Use the README for the complete environment and profile reference.
PF_PG_HOST_PORT=56432 docker compose up -d --buildService boundaries
The web container serves the built Vite application through nginx. It proxies /api/* to the API and /hubs/* for SignalR. The API applies pending database migrations at startup and uses the configured stores and connection providers.
The Compose stack includes development credentials and services. Do not expose it as-is. Configure authentication, OPA policy data, secrets, storage, TLS, backups and network access for your environment.
Optional local development
The API requires .NET 10 for a host-side build. The operational web UI has its own Node and pnpm setup in web/README.md. The website you are reading is a separate Next.js application.
Troubleshooting
Inspect API and web logs first. An unavailable OPA service makes protected operations fail closed. Check database readiness, port conflicts and enabled profiles rather than disabling authorization to bypass a startup failure.