1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02: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

View File

@ -30,7 +30,8 @@ $ docker-compose run --rm --service-ports certbot
>>> domains: easypi.info,blog.easypi.info,wiki.easypi.info
# 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
$ tree /etc/letsencrypt/live/

1
certbot/crontab.txt Normal file
View File

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