nginx-cert-docker
Installation
git clone https://github.com/archervanderwaal/nginx-certbot-docker.git
chmod +x init-letsencrypt.sh renew.sh
And modify configuration
cat config.env
# domains=(archervanderwaal.com www.archervanderwaal.com)
# data_path=./data/certbot
# rsa_key_size=4096
# staging=0
# [email protected]
After that
./init-letsencrypt.sh
Update your certificates regularly
0 0 1 * * ${your path}/renew.sh