Skip to content
Snippets Groups Projects
README.md 575 B
Newer Older
Pierre Ozoux's avatar
Pierre Ozoux committed
# HAproxy

The smallest HAproxy docker image in town ;)

## Run

This image will log everything to stdout/stderr. Somehow, it respects 12-Factor App. But it uses the debug flag of HAProxy. If you have a better idea, please read this [blog post](http://pierre-o.fr/blog/2014/08/27/haproxy-coreos/) first.

```bash
docker run\
  -v /haproxy-config:/etc/haproxy\
  -p 80:80\
  -p 443:443\
Pierre Ozoux's avatar
Pierre Ozoux committed
  pierreozoux/haproxy
Pierre Ozoux's avatar
Pierre Ozoux committed
```

Pierre Ozoux's avatar
Pierre Ozoux committed
Have a look to [pierreozoux/confd](https://registry.hub.docker.com/u/pierreozoux/confd/) to have automatic configuration of HAproxy backed by `etcd` or `consul`.