Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.45 KB

File metadata and controls

37 lines (29 loc) · 1.45 KB
title Operate
description Running Modgud in production — Docker deployment, persistence, multi-tenancy provisioning, observability, recovery procedures.

Operate

How to run Modgud once you've got the basics from Getting Started. These pages assume you're the operator: someone who deploys the container, monitors it, and steps in when something breaks.

Deploying

  • Docker & Deployment — the official image, env-var reference, reverse-proxy expectations, certificate handling.
  • Persistence (Marten) — PostgreSQL setup, master-table-tenancy model, per-realm database naming.
  • Multi-tenancy / Realms — the operator-facing side of realm provisioning, domain wiring, and migration paths.

Day 2

  • Observability — OpenTelemetry traces + metrics, Prometheus scrape, the in-app live activity feed.
  • Recovery CLI — first-time bootstrap and break-glass operations: bootstrap-admin, realm-add-domain, realm-set-primary-domain, set-email, magic-link, reset-2fa, rotate-signing-key, control-plane transfer, rebuild-projections.

Architecture

  • Backend layout — the slice structure (Authentication, Authorization, Domain, Infrastructure, Api) and how they wire together.
  • Feature Flags — the runtime toggles that gate in-progress surfaces (currently: Page Builder, …).