https://github.com/kenforthewin/nginx_proxy_zero
Idiomatic API for zero-downtime docker deploys. Not secure - don't give public access.
https://github.com/kenforthewin/nginx_proxy_zero
docker nginx-proxy ruby
Last synced: about 2 months ago
JSON representation
Idiomatic API for zero-downtime docker deploys. Not secure - don't give public access.
- Host: GitHub
- URL: https://github.com/kenforthewin/nginx_proxy_zero
- Owner: kenforthewin
- License: mit
- Created: 2018-01-04T02:34:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-16T17:13:30.000Z (over 8 years ago)
- Last Synced: 2025-01-13T01:12:42.833Z (over 1 year ago)
- Topics: docker, nginx-proxy, ruby
- Language: Ruby
- Homepage:
- Size: 7.38 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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.
1. Optionally, add `127.0.0.1 whoami.deve` to test deployment with a simple http server.
1. 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:
```json
{
"name": "nginxproxyzero_some-zerodowntime-service_1",
"network": "nginxproxyzero_default",
"image": "jwilder/whoami",
"virtual_host": "whoami.deve"
}
```