Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/subicura/haproxy-confd
haproxy-confd
https://github.com/subicura/haproxy-confd
Last synced: 29 days ago
JSON representation
haproxy-confd
- Host: GitHub
- URL: https://github.com/subicura/haproxy-confd
- Owner: subicura
- Created: 2014-09-26T08:29:27.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-26T16:23:15.000Z (about 10 years ago)
- Last Synced: 2023-03-18T02:45:43.397Z (almost 2 years ago)
- Language: Shell
- Size: 113 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# haproxy-confd
Dockerfile to build the haproxy docker image
## etcd key/value
/services/web/{key} {ip:port}
**example**
```
etcdctl set /services/web/web_1 172.17.8.101:49153
```## haproxy config template
- haproxy.cfg.http.rr.tmpl : http & round robin
- haproxy.cfg.http.consistent.tmpl : http & hash-type consistent## build
docker build -t haproxy-confd .
## run
docker run -d -p 80:80 haproxy-confd
## log
docker logs -f [container id]