Lars Kellogg-Stedman 154e2781d9 added hautoproxy auto-configuring haproxy
This image configures haproxy to forward connections for all available
kubernetes services.  It is meant to be run alongside other contains in
a kubernetes pod to provide access to "remote" services at a consistent
address so that keystone api endpoints can be configured in a sane
fashion.

Change-Id: Ic923c6a772f1bdf36b97b05a1d04de9e5b841ddd
2014-10-06 13:58:20 -04:00

9 lines
208 B
Docker

FROM fedora
RUN yum -y install haproxy python-jinja2; yum clean all
RUN mkdir -p /etc/haproxy/templates
ADD haproxy.cfg.tmpl /etc/haproxy/templates/haproxy.cfg.tmpl
ADD start.py /start.py
CMD ["/start.py"]