Compose readiness and partial rollback boundaries
A running container may still lack a database connection, required tables, or an internal dependency. Liveness says the process is alive; readiness says it can receive user traffic.
Compose readiness and partial rollback boundaries
A running container may still lack a database connection, required tables, or an internal dependency. Liveness says the process is alive; readiness says it can receive user traffic.
Public boundary and readiness
The production environment keeps the public entry at Caddy and binds app, database, Kafka, and Prometheus ports to loopback or the internal network. Java Actuator and Python /metrics are internal scrape paths, while Caddy blocks public management routes. Prometheus starts only in the optional observability profile.
Shared storage and rollback
The console writes the public-content host path and the public app mounts that same path read-only. A mismatch would make an upload appear successful while the public page cannot read it.
On failure, replace and roll back only target images rather than stopping the whole stack. Preserve logs and readiness results so the operator can judge impact and recovery.
Related course: Compose, readiness, reverse proxy, and rollback
Terms in this content
More in infra
All in this category →Related posts
Separate required readiness from optional capabilities
A live process, a service ready for its critical path, and a service with every optional feature working are different facts. Putting them into one ready value can turn an optional model outage into a full restart, whil…
Close a release with smoke and rollback evidence
Building an image does not prove that users can use a healthy path. Bind the tested commit to the running image and run a real DB-reading smoke after readiness.
Docker Compose Patterns
When running several containers on a single host (web, DB, cache, queue) Compose is the lightest path. One YAML file ties together dependencies, networks, volumes, and healthchecks. Not being a full orchestrator is both…