Matthew Hayden
1 min readJul 31, 2019

--

Really good article. I’ve just been implementing the same king of thing myself and had a suggestion.

Why not use the certbot container to bootstrap your certificates before starting your docker stack?

`docker run -p80:80 -v/app/certs:/etc/letsencrypt/live/ certbot/certbot certonly — non-interactive — standalone — agree-tos — email <email> — domain <domain>`

--

--

Matthew Hayden
Matthew Hayden

Written by Matthew Hayden

Professional Software Developer

Responses (2)