nginx-proxy/certbot
Mikaël Capelle 1a4b870530 Update.
2020-11-29 11:33:31 +00:00

13 lines
370 B
Bash
Executable File

#!/bin/bash
docker exec nginx_proxy mkdir -p /var/www/certbot
docker run -it --rm --name letsencrypt \
--volumes-from nginx_proxy -v /etc/letsencrypt:/etc/letsencrypt:rw \
--network nginxproxy \
certbot/certbot \
--webroot --webroot-path /var/www/certbot --config-dir=/etc/letsencrypt \
$*
# renew --cert-name typename.fr --dry-run