https://github.com/smithclay/nginx-consul-lb
Dockerized nginx software load balancing with consul and consul-template
https://github.com/smithclay/nginx-consul-lb
Last synced: 8 months ago
JSON representation
Dockerized nginx software load balancing with consul and consul-template
- Host: GitHub
- URL: https://github.com/smithclay/nginx-consul-lb
- Owner: smithclay
- Created: 2016-07-25T23:07:31.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-22T21:31:17.000Z (almost 10 years ago)
- Last Synced: 2025-04-03T02:41:47.293Z (about 1 year ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# nginx-consul-lb
Nginx load-balacing with docker, consul, and consul template.
## Usage
```
docker run --name nginx -d -p 80:80 -v /etc/nginx nginx:alpine
```
```
$ docker run --name nginx-consul-template \
-e CONSUL_TEMPLATE_LOG=debug \
-e FRONTEND_SERVICE_NAME=web \
-e WS_SERVICE_NAME=socketio \
--volumes-from nginx \
smithclay/nginx-consul-lb
```