Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mastilver/docker-cd-deploy
POC: deploy an app without any downtime using docker
https://github.com/mastilver/docker-cd-deploy
Last synced: 5 days ago
JSON representation
POC: deploy an app without any downtime using docker
- Host: GitHub
- URL: https://github.com/mastilver/docker-cd-deploy
- Owner: mastilver
- Created: 2015-09-03T18:32:56.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-03T22:07:24.000Z (about 9 years ago)
- Last Synced: 2024-10-12T04:26:52.790Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-cd-deploy
POC: deploy an app without any downtime using docker### links
* http://southworks.com/blog/2015/07/17/docker-compose-scaling-multi-container-applications/
* http://jasonwilder.com/blog/2014/03/25/automated-nginx-reverse-proxy-for-docker/### workflow
* update code using git pull
* check if new images are available
* check if any service have been updated using docker-compose.yml
* list services that need update + mandatory one (ie: web)##### repeat until done
* scale up service
* make the load balancer register new service and remove one old one
* wait for the old service's connection to be processed (hint: netstat)
* kill the service##### end
* rename docker container to clean up
### Notes / Questions
* If we need to update database and service, new one should be linked to new web only as for old one to old one.