Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/subicura/haproxy-confd

haproxy-confd
https://github.com/subicura/haproxy-confd

Last synced: 29 days ago
JSON representation

haproxy-confd

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]