colstrom/haproxy
A TCP/HTTP reverse proxy for high availability environments
1.3K
A TCP/HTTP reverse proxy for high availability environments
Location | Description |
---|---|
/etc/haproxy | Store configuration files here |
docker pull colstrom/haproxy
docker run -d -P colstrom/haproxy
The configuration used in this image can be found at example/haproxy.cfg
.
Overwrite haproxy.cfg
at build time in a descendent image.
FROM colstrom/haproxy
ADD example/haproxy.cfg /etc/haproxy/
Alternatively, bind mount a directory containing an haproxy.cfg
to the container at runtime:
docker run -d -P -v $PWD/example:/etc/haproxy colstrom/haproxy
docker pull colstrom/haproxy