Image for running nginx on a Raspberry Pi with embedded letsencypt client
3.7K
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:
80 - http443 - httpsThe 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 addressLE_DOMAIN: the domain of your site, used for the certificate to be created and validationLE_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 filesnginx:
image: fbrx/rpi-nginx-letsencrypt
environment:
- LE_MAIL=<your@email>
- LE_DOMAIN=<your domain>
ports:
- 80:80
- 443:443
Content type
Image
Digest
Size
214.6 MB
Last updated
over 5 years ago
docker pull fbrx/rpi-nginx-letsencrypt