This image provides an installation of nginx and the letsencrypt client to easily create SSL certificates for your domain.
The Dockerfile which was used to create the image can be found here.
The image exposes the default ports for http and https:
The image can be used as is. Depending on the ENV Varables provided at startup, the SSL certifiacte will be created via the letsencrypt client.
The following ENV variables are defined for customization:
LE_MAIL: your email address
LE_DOMAIN: the domain of your site, used for the certificate to be created and validation
LE_ARGS: additional args to the letsencrypt client (i.e. --rsa-key-size)
The following volumes are defined:
/usr/share/nginx/www: contains the default nginx webroot
/etc/nginx: contains nginx config files
nginx: image: fbrx/rpi-nginx-letsencrypt environment: - LE_MAIL=<your@email> - LE_DOMAIN=<your domain> ports: - 80:80 - 443:443