How wowu/docker-rollout works
Project type and purpose
• This is a small open-source CLI plugin (“docker-rollout”) for zero-downtime deployments using Docker Compose. It extends the Docker CLI with a single command that scales services, waits for healthchecks, and removes old containers.
File structure
• Top level:
• docker-rollout (the executable script/CLI plugin)
• README.md, LICENSE, CI workflows
• docs/ (static site with usage guides, examples, caveats)
• No traditional “frontend/backend” split—this is a tooling project around Docker Compose.
• No compiled binaries or microservices; a single-binary/script interacts with Docker Engine.
README for insights
• The tool runs as a Docker CLI plugin.
• It detects whether to call docker compose or docker-compose.
• It implements a three-phase rollout: scale up, wait (healthchecks or fixed timeout), scale down.
• External services needed: reverse proxy (Traefik/nginx-proxy) for traffic routing.