Docker
You're viewing a free preview. Sign in free to read every script.
Why this exists Deploying with docker compose up d is one command, and it reports success as soon as the container starts . A release that starts and then fails its health check, crashes on the first real request, or…
Deploying with Compose: Health-Gated Releases, Automatic Rollback and a Deployment Log
A deploy script that records the running version, brings up the new one, waits for its healthcheck, and puts the old version back automatically when the release never becomes healthy, tested with a good release, a broken release and a missing image, including how much downtime a single-container deploy really causes.
Sign in free to read this script, along with the rest of the library.
Sign in free