Sign inSign up

strawpay/certbot-cron

By strawpay

•Updated almost 10 years ago

cerbot with cron support for scheduling of renewals. https://github.com/strawpay/certbot-cron.

Image
0

349

strawpay/certbot-cron repository overview

Docker container with certbot and cron support. Source github.com/strawpay/certbot-cron⁠. The certbot comand comes from docker image quay.io/letsencrypt/letsencrypt⁠. See certbot⁠ for information about certbot.

There are two modes of operations single and schduled via cron:

docker run <docker options> strawpay/docker-certbot <certbot options>
docker run <docker options> strawpay/docker-certbot cron <certbot options>
⁠Single mode

The container will run once, performing the specfied certbot operation and exit. is passed verbatim to the certbot command.

⁠Scheduled mode

Schedules the certbot command. is passed verbatim to the certbot command. The container sets up a cron job and continues running, outputting the result of the ran jobs. The schedule defaults to "11 3 * * *" Set the environment variable CRON_SCHEDULE to specify your own schedule.

⁠Examples:

Run once, setting up www.example.com⁠

docker run --rm -t strawpay/docker-certbot certonly --standalone -d example.com -d www.example.com

Run once, checking what renew would do

docker run --rm -t strawpay/docker-certbot renew

Renew at 03:11 every day

docker run -d strawpay/docker-certbot cron renew -q

Renew at 5:15 every day

docker run -d 
	-e CRON_SCHEDULE='15 5 * * *' \
	strawpay/docker-certbot cron renew -q

Tag summary

Content type

Image

Digest

Size

141.7 MB

Last updated

almost 10 years ago

docker pull strawpay/certbot-cron