| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository contains the code for an haproxy wrapper with these features:
It also includes a Dockerfile to extend official haproxy dockers with this wrapper.
Start the wrapper passing as arguments the configuration needed for your environment, the defaults play well with the official haproxy docker image and the included Dockerfile uses this image as base.
Configuration directory is exposed as a volume. Sidecar container in charge of generating the configuration should use this volume. Both containers should also be in the same network namespace, so it can reach the control entry point without needing to expose it beyond a local interface.
To trigger a configuration reload, send an HTTP GET request to /reload in the control entry point (http://127.0.0.1:15000/reload by default).
Haproxy must be configured in daemon mode.
When trying to deploy haproxy in docker, you may face some recurrent problems:
haproxy-docker-wrapper was created by Tuenti Technologies S.L.
You can follow Tuenti engineering team on Twitter @tuentieng.
haproxy-docker-wrapper is available under the Apache License, Version 2.0. See LICENSE file for more info.
| Back | FazBrowse Home | New Git URL |