Running NGINX with Docker with Let’s Encrypt certificates outside of the container
In this post I want to explain briefly how I solved the problem to run NGINX with docker but keep the let’s encrypt certificates outside of the Docker image. Some approaches include the certificates into the container during the build, i.e. they are generated in the docker image. I wanted to decouple certificates and NGINX. Here’s my approach. It assumes you have docker and certbot (Let’s Encrypt) already installed. 1. Get the certificates Read more…