This commit is contained in:
Mikaël Capelle
2020-11-29 11:33:31 +00:00
parent dc5621cb53
commit 1a4b870530
5 changed files with 35 additions and 23 deletions

12
certbot Executable file
View File

@@ -0,0 +1,12 @@
#!/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