Add monthly cronjob to renew certs

This commit is contained in:
William Brawner 2021-10-30 00:56:34 +00:00
parent 216c26f66c
commit 3a14466c6c
2 changed files with 5 additions and 0 deletions

View file

@ -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
View file

@ -0,0 +1,4 @@
#!/usr/bin/env sh
/usr/local/bin/certbot renew