Skip to Content
DevOpsDocker Runtime

Docker Runtime

The public runtime lives in solution/docker/ and the application in solution/projects/. The launcher validates configuration before lifecycle operations. Start with Quick Start.

Repository layout

AGENTS.md workflow/ solution/ docker/ README.md docker/canonical/compose.yaml docker/toolbox/Dockerfile scripts/canonical_launcher.py projects/ django/ manage.py pyproject.toml uv.lock frontend/ apps/demo/ apps/docs/ apps/storybook/ packages/ widgets/ pnpm-lock.yaml

The docs app is the single editable documentation source. There is no second maintained sample application.

Services

ServiceRole
dbPostgreSQL 17, dedicated named data volume
redisRedis 7.4, ephemeral development cache
deps / frontend-depsExplicit locked dependency preparation
migrateOne-shot Django migrations
apiUvicorn ASGI development server with reload
demoNext.js sample application
docsNextra documentation
storybookComponent development
gatewayNginx, four loopback ports
workspaceOptional CMDOP machine, started explicitly

Dependency tools have registry egress. Application services use an internal network; the gateway provides local routes. Database and Redis ports are not published to the host. The optional workspace has separate network access and persistent home, without the host Docker socket.

Reproducibility and configuration

Bootstrap uses committed uv.lock and pnpm-lock.yaml (pnpm 9.15.4). The initial published sample lock resolves Django-CFG 2.4.115, Django 6.1.3 and DRF 3.18.3. These are sample versions, not requirements for every application.

The initial toolbox is built from a verified signed stable CMDOP artifact. Its immutable local image identity and receipt are checked before use. The receipt is not a registry signature or proof of bitwise-reproducible image builds.

The launcher generates an external private environment file. Do not copy it to another checkout, commit it or mount it into an agent workspace. Application settings are covered in Environment Setup.

Persistent state

Named volumes hold database data, dependencies, dependency cache, Django data, static files, media and the optional workspace home. Redis is intentionally ephemeral. Frontend development caches live in the owned checkout.

Git source, dependencies, database data, private state and machine identity are distinct. A Git commit does not back up the others. See Security & Recovery.

Build resources

Example service limits: 10 GiB for docs, 8 GiB for demo, 4 GiB for Storybook. Allow additional resources for API, dependencies, database, operating system and image builds. Runtime limits do not bound all build processes. Build independent components in bounded batches.

Last updated on