docker-compose-zero-downtime-deployment
docker-compose-zero-downtime-deployment copied to clipboard
A design pattern to achieve (almost) zero-downtime deployments of Docker-based web services.
In the section for https://github.com/vincetse/docker-compose-zero-downtime-deployment#demo-zero-downtime-deploymentsh The description says > You will see that `ab` does not emit a line about **Non-2xx responses**, which means that all requests completed successfully. But...
try to declare string variable with dns servicename and than use it in upstream https://www.nginx.com/blog/dns-service-discovery-nginx-plus why you have titled it zero downtime - you stop service at least 5 seconds!...
I don't get how nginx is supposed to know which address to use to contact the service instance. In yout example the services run on port 3000 which is not...