- Run
docker network create consul
to create a new network; - Run
docker-compose -f docker-compose-consul.yml up -d
to start Consul and Registrator; - Open in browser
http://localhost:8500/
to check; - Run
./deploy.sh
to first run; - Open in browser
http://localhost/
to check; - Run
./deploy.sh
to imitate deploying of a new app; - Open in browser
http://localhost/
to check a new version; - Run
./rollback.sh
to imitate a rollback; - Open in browser
http://localhost/
to check an old version; - Use
python2.7 test.py
in a new terminal to be sure that an app is always online during a deploy/rollback.
forked from Sinkler/docker-nginx-blue-green
-
Notifications
You must be signed in to change notification settings - Fork 0
Blue/Green deployment wih Docker compose, Nginx, Consul and Registrator
License
supaket/docker-nginx-blue-green
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Blue/Green deployment wih Docker compose, Nginx, Consul and Registrator
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Shell 96.6%
- Python 3.0%
- HTML 0.4%