~dricottone/container-images

ref: e93c6cce73108c60776f773d52168f6aed9cf008 container-images/haproxy/README.md -rw-r--r-- 749 bytes
e93c6cceDominic Ricottone Adding recipient_canonical maps to Postfix 1 year, 4 months ago

#haproxy

#Build and Deploy

make image

#Tags

  • latest

#Use

Can be used with any container manager toolchain.

Create configuration files in $confdir. They should look like:

resolvers docker_dns
  nameserver docker 127.0.0.11:53

backend www_backend
  server web1 nginx:80 check resolvers docker_dns

frontend http_frontend
  bind :8080
  bind :8443 ssl crt /var/letsencrypt/example.com.pem alpn h2,http1.1
  mode http
  http-request redirect scheme https unless { ssl_fc }

  default_backend web_backend

Try:

$conman run --detach --name haproxy --restart always \
    --mount type=bind,src=$confdir,dst=/usr/local/etc/haproxy.d,readonly \
    registry.intra.dominic-ricottone.com/haproxy:latest