Deployment
Last updated April 25, 2026
Deploy Matruno by running the FastAPI backend, Temporal worker, Next.js apps, PostgreSQL, Redis, Temporal, artifact storage, and observability components with explicit production hardening.
Supported path in this repo#
The repository supports local and production-like deployment through Docker Compose and explicit service processes. It does not include a one-click cloud deployment or hosted Matruno service.
The root docker-compose.yml starts:
postgreswith pgvectorpgbouncerredisotel-collectortemporaltemporal-uibackendworkerpgbouncer-exporterfrontend
The admin control plane is started separately with admin-panel/docker-compose.admin.yml. It expects the root stack's shared network and infrastructure services to exist.
Production requirements#
Before routing production traffic:
- Build and publish versioned backend, worker, frontend, admin API, admin panel, and docs images as needed.
- Run Alembic migrations with
alembic upgrade head. - Use persistent PostgreSQL, Redis, Temporal, and artifact storage.
- Set high-entropy
SECRET_KEYandTOKEN_HASH_SECRET. - Set
COOKIE_SECURE=trueand restrictCORS_ORIGINS. - Configure provider credentials only for integrations you actually use.
- Expose
/healthand/health/aggregateto health monitors. - Monitor Temporal task queues and worker capacity.
Runtime ownership#
Know which team owns environment variables, migrations, Temporal worker scaling, PostgreSQL backups, artifact backups, connector credentials, legal workflow definition changes, document template changes, and observability alerts.
No production guarantee
The repo has production-oriented hardening hooks, health checks, and observability, but these docs should not claim universal production readiness for every regulated environment.
Was this helpful?