Idiomatic API for zero-downtime docker deploys. Not secure - don't give public access.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
lib
taurus
.gitignore
.ruby-version
CODE_OF_CONDUCT.md
Dockerfile
Gemfile
Gemfile.lock
LICENSE
Procfile
README.md
config.ru
docker-compose.yml
nginx_proxy_zero.rb
taurus_test.yml
unicorn.rb

README.md

nginx_proxy_zero

Idiomatic API for zero-downtime docker deploys. Not secure - don't give public access.

dev setup

  1. Add 127.0.0.1 zero.deve to your Hosts file.
  2. Optionally, add 127.0.0.1 whoami.deve to test deployment with a simple http server.
  3. run docker-compose up -d

perform a rolling update

Make a POST request to http://zero.deve/update_deployment. The body of your request should be a JSON payload which conforms to the following format:

    {
      "name": "nginxproxyzero_some-zerodowntime-service_1",
      "network": "nginxproxyzero_default",
      "image": "jwilder/whoami",
      "virtual_host": "whoami.deve"
    }