Sign inSign up

bradjonesllc/docker-haproxy-letsencrypt

By bradjonesllc

•Updated over 8 years ago

Dockerized HAProxy with automatic Let's Encrypt cert creation and updating.

Image
7

100K+

bradjonesllc/docker-haproxy-letsencrypt repository overview

⁠Dockerized HAProxy with Let's Encrypt

This container provides a HAProxy 1.7 application with Let's Encrypt certificates generated at startup, as well as renewed (if necessary) once a week.

⁠Usage

docker run \
    -e CERTS=my.domain,my.other.domain \
    -e [email protected] \
    -v /etc/letsencrypt:/etc/letsencrypt \
    -p 80:80 -p 443:443 \
    bradjonesllc/docker-haproxy-letsencrypt

You will almost certainly want to create an image FROM this image or mount your haproxy.cfg at /usr/local/etc/haproxy/haproxy.cfg.

⁠Alternatives

HAProxy is powerful, but notoriously difficult to configure. If you don't require HAProxy's functionality per se, consider this similar image for Nginx⁠.

© Brad Jones LLC, Licensed under GPL-2. Some components MIT license.

Tag summary

Content type

Image

Digest

Size

121.7 MB

Last updated

over 8 years ago

docker pull bradjonesllc/docker-haproxy-letsencrypt