Files
DevRunbook-Public/adr/ADR-002-modular-monolith.md
T
DevRunbook release export cfd2804e27
Managed validation / full (push) Successful in 3m18s
Publish DevRunbook source
2026-09-03 04:09:17 +02:00

22 lines
632 B
Markdown

# ADR-002 — Modular monolith for MVP
## Status
Accepted
## Context
The product has several domains and background work but must remain easy to self-host on Docker and Unraid.
## Decision
Use one repository and one application codebase with explicit domain packages. Deploy separate web and worker process roles backed by one PostgreSQL database.
## Consequences
- simpler deployment, transactions and development;
- domain boundaries remain testable;
- no network overhead between premature services;
- future extraction remains possible through defined ports;
- discipline is required to avoid framework/domain coupling.