This repository contains a port of the Dockerfile of Haproxy for the Raspberry Pi.
Many kudos to the upstream repo https://github.com/dockerfile/haproxy
Install Docker by downloading the HypriotOS SD card image.
Download hypriot/rpi-haproxy from public Docker Hub Registry: docker pull hypriot/rpi-haproxy
(alternatively, you can build an image from Dockerfile: docker build -t="hypriot/rpi-haproxy" github.com/hypriot/haproxy)
docker run -d -p 80:80 hypriot/rpi-haproxy
docker run -d -p 80:80 -v <override-dir>:/haproxy-override hypriot/rpi-haproxy
where <override-dir> is an absolute path of a directory that could contain:
haproxy.cfg: custom config file (replace /dev/log with 127.0.0.1, and comment out daemon)errors/: custom error responsesAfter few seconds, open http://<host> to see the haproxy stats page.
Content type
Image
Digest
sha256:4f9e1b859…
Size
33 MB
Last updated
over 10 years ago
docker pull hypriot/rpi-haproxy