Sign inSign up

siji/haproxy

By siji

•Updated over 7 years ago

Quick setup of haproxy based on haproxy:1.9.7-alpine.

Image
0

1.1K

siji/haproxy repository overview

This is multiarch image, supports: amd64, ppc64le, s390x.

docker run -d --net=host --name=haproxy \
    -e INFO='[email protected]:6443,2.2.2.2:6443|[email protected]:8043,4.4.4.4:8043' siji/haproxy haproxy.sh
  • There are two load balancers in above example
  • | separates the load balancers
  • 7443 is the lb port
  • 1.1.1.1:6443,2.2.2.2:6443 is lb backends which separated by ,
  • the load balance mod is tcp
  • the load balance algorithm is source

Tag summary

Content type

Image

Digest

Size

9.1 MB

Last updated

over 7 years ago

docker pull siji/haproxy