Add monthly cronjob to renew certs
This commit is contained in:
parent
216c26f66c
commit
3a14466c6c
2 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
FROM certbot/dns-digitalocean:latest
|
||||
|
||||
COPY new-domain /usr/bin/new-domain
|
||||
COPY renew /etc/periodic/monthly/renew
|
||||
|
||||
ENTRYPOINT /usr/sbin/crond -f
|
||||
|
||||
|
|
4
renew
Normal file
4
renew
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
/usr/local/bin/certbot renew
|
||||
|
Loading…
Reference in a new issue