Sign inSign up

anasaso/haproxy

By anasaso

•Updated almost 7 years ago

HAproxy docker container. Configuration via ENV variables. Can be helpful for k8s use cases

Image
1

50K+

anasaso/haproxy repository overview

⁠HAproxy docker container

A docker container to run haproxy and set basic configuration using environment variables.

⁠Supported ENV variables
⁠Mandatory :
  • BACKEND_SERVERS : "host_OR_ip:port"
⁠Optional :
  • GLOBAL_MAXCONN : defaults to 2000
  • GLOBAL_USER : defaults to haproxy
  • GLOBAL_GROUP : defaults to haproxy
  • DEFAULTS_RETRIES : defaults to 3
  • DEFAULTS_TIMEOUT_CONNECT : defaults to 5000
  • DEFAULTS_TIMEOUT_CLIENT : defaults to 10000
  • DEFAULTS_TIMEOUT_SERVER : defaults to 10000
  • FRONTEND_NAME : defaults to myapp
  • FRONTEND_HOST : defaults to 0.0.0.0
  • FRONTEND_PORT : defaults to 8080
  • BACKEND_NAME : defaults to mybackend
  • BACKEND_BALANCE : defaults to leastconn
  • BACKEND_MODE : defaults to http

Tag summary

Content type

Image

Digest

Size

54.7 MB

Last updated

almost 7 years ago

docker pull anasaso/haproxy