AI agents now work inside Duna processesSee agentic orchestration
Documentation/Start here

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.
bash
docker compose up -d --build

Development endpoints

ServiceLocal address
Operational UIhttp://localhost:8080
REST APIhttp://localhost:5218
API readinesshttp://localhost:5218/health/ready
PostgreSQLlocalhost:5432
RabbitMQ managementhttp://localhost:15672
Kafka host listenerlocalhost:29092
OPAhttp://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.

bash
PF_PG_HOST_PORT=56432 docker compose up -d --build

Service 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.