/openshift-haproxy-default-router

Default HAProxy router image for OpenShift

Primary LanguageShell

openshift-haproxy-default-router

Default HAProxy router image for OpenShift

This is a fork of default HAProxy Router image for OpenShift Origin with updated Dockerfile which will pull and install the latest stable version of HAProxy.

Build Guide

Docker is required to build a usable image. Clone the repo to your local disk and before you actually execute the image build, please check if reload-haproxy script is executable for user and group.

Also, you can edit haproxy-config.template located in conf folder. An actual configuration for HaProxy is generated from this file upon container start, so if you require a custom configuration, this is the place to do it.

To build an image, execute:

docker build -t=haproxy-router-openshift .

Usage

Image like this can be uploaded to OpenShift local repository and used from there, or you can pull a Docker image from here.