https://github.com/Wowu/docker-rollout
|
|
|
|
|
|
basher install
## To install this package with basher
$ basher install Wowu/docker-rollout
🚀 Zero Downtime Deployment for Docker Compose
Simply replace docker compose up -d <service>
with docker rollout <service>
in your deployment scripts. This command will scale the service to twice the current number of instances, wait for the new containers to be ready, and then remove the old containers.