This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user