Skip to content

HAProxy compose files for the Controls group's proxy container.

Notifications You must be signed in to change notification settings

lnls-sirius/docker-haproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HAProxy Docker Image

In order to use version 2.2+ we must replace reqrep with http-request replace-path. HAProxy Community Docs v2.2

Running

Use the docker-compose.yml file with docker-compose to deploy the container. The image requires a configuration file named haproxy.cfg with your cluster settings and a ssl pem certificate called haproxy.pem.

# Generate the certificate
openssl pkcs12 -in cnpem.br.pfx -out cert.pem -nokeys -clcerts

# Generate the private key
openssl pkcs12 -in cnpem.br.pfx -out key.pem -nocerts -nodes

# Append key and crt
cat cert.pem > haproxy.pem
cat key.pem >> haproxy.pem

About

HAProxy compose files for the Controls group's proxy container.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •