From dc0def1ddcf7b12fe5fa9ad1963dd162a86af2a6 Mon Sep 17 00:00:00 2001 From: Ric Harvey Date: Fri, 23 Sep 2016 10:22:57 +0100 Subject: [PATCH] update docs --- docs/lets_encrypt.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/lets_encrypt.md b/docs/lets_encrypt.md index e69de29..131b02e 100644 --- a/docs/lets_encrypt.md +++ b/docs/lets_encrypt.md @@ -0,0 +1,13 @@ +## Lets Encrypt Guide +This container includes support for lets encrypt SSL certificates. The scripts includes allow you to easily setup and renew your certificates. **Please note** your container must be a fully resolvable (by dns), Internet facing server to allow this to work. +### Setup +You can use Lets Encrypt to secure your container. Make sure you start the container with the ```DOMAIN, GIT_EMAIL``` and ```WEBROOT``` variables set to enable this functionality. Then run: +``` +sudo docker exec -t /usr/bin/letsencrypt-setup +``` +Ensure your container is accessible on the ```DOMAIN``` you supplied in order for this to work +### Renewal +Lets Encrypt certs expire every 90 days, to renew simply run: +``` +sudo docker exec -t /usr/bin/letsencrypt-renew +```