From d412e3128cacc94c85ae0748edbbf687fccc933f Mon Sep 17 00:00:00 2001 From: aney1 Date: Sun, 28 Jul 2019 14:54:52 +0200 Subject: [PATCH] Update README.md --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 11cf554..b411d67 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,20 @@ This repository conatins everything needed to create and renew LetsEncrypt certificates (incl. wildcard certificates) on Dynu (https://www.dynu.com/). -This should work on machine that can run docker (I'm using it on a QNAP NAS). +This should work on every machine that can run docker (I'm using it on a QNAP NAS). If you already have certbot installed you can also just use the scripts in the scripts folder, without docker. -h1. Usage with docker-compose: +# Usage with docker-compose: You will need Docker and Docker-Compose: + https://docs.docker.com/install/ https://docs.docker.com/compose/install/ docker-compose -f /certbot/docker-compose.yml up Cronjob to run it twice daily (like recomended by Certbot, certificates are only renewed when needed): + 0 0,12 * * * python -c 'import random; import time; time.sleep(random.random() * 3600)' && docker-compose -f /certbot/docker-compose.yml up -h1. Usage with locally installed certbot: +# Usage with locally installed certbot: Required packages: certbot, jq, curl + certbot certonly --manual-public-ip-logging-ok --non-interactive --agree-tos --email --manual --preferred-challenges=dns --manual-auth-hook /script-pre.sh --manual-cleanup-hook /script-post.sh -d YOURDOMAIN.TLD -d *.YOURDOMAIN.TLD