1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00

update certbot

This commit is contained in:
kev 2017-03-27 11:07:04 +08:00
parent dd521246af
commit fadb657195
2 changed files with 3 additions and 1 deletions

@ -30,7 +30,8 @@ $ docker-compose run --rm --service-ports certbot
>>> domains: easypi.info,blog.easypi.info,wiki.easypi.info >>> domains: easypi.info,blog.easypi.info,wiki.easypi.info
# renew keys (headless) # renew keys (headless)
$ docker-compose run --rm --service-ports certbot renew $ crontab -l
0 0 * * * cd ~/fig/certbot && docker-compose run --rm certbot renew >> renew.log
# list keys # list keys
$ tree /etc/letsencrypt/live/ $ tree /etc/letsencrypt/live/

1
certbot/crontab.txt Normal file

@ -0,0 +1 @@
0 0 * * * cd ~/fig/certbot && docker-compose run --rm certbot renew >> renew.log