← Full mapCurated public summary
Index
Entry 10BPUBLIC HANDBOOK

Practical Container First demo

Pedagogical example of a containerized project with Compose, persistence, backup/restore, and separation between Git definition and operational state.

Source & authority

Public explanation

PUBLIC HANDBOOK
Based on
Human Handbook 10B — Practical Container First demo
Related normative sources
  • NORMATIVE SOURCEStandard · Runtime Reproducibility
  • NORMATIVE SOURCEStandard · Deployment Environments
Authority
Public explanation — NON-NORMATIVE
Summary

Pedagogical example of a containerized project with Compose, persistence, backup/restore, and separation between Git definition and operational state.

This demo turns Container First into a tangible example: a web application and PostgreSQL deployed with Compose, with persistent data and an explicit backup-and-restore path.

An example, not a universal template

The demo-crm project separates Git definition, executable deployment, ephemeral container filesystem, and persistent state. Service count, proxy, database, networks, and observability remain architecture decisions.

Key points
  • Git → versioned deployment.
  • Replaceable containers.
  • Persistence outside ephemeral filesystems.
  • Local backup is staging, not the only defense.

Recovery and drift are operational concerns

The example includes operational commands, backup/restore, and a deterministic way for a person or agent to inspect state. The pedagogical goal is a VM that can be rebuilt and audited without tribal knowledge.

Key points
  • Reproducible Compose.
  • .env.example without secrets.
  • Known and verifiable restore.
  • Compare observed state with the repo to detect drift.
Contextual glossary+
Container First

DCP operational default for reproducible and normally containerized deployments on directly controlled Linux infrastructure, unless a documented technical exception applies.

Deployment

Technical act of placing a version into an environment.

Evidence

Proof of an observed or executed result; not an agent assertion.