From 7e505ad4931006b5986a392c2c0c6508ce5c74f9 Mon Sep 17 00:00:00 2001 From: Matthew Northcott Date: Thu, 30 Mar 2023 10:35:08 +1300 Subject: [PATCH] Add recipe for creating certificates --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Makefile b/Makefile index f8da221..07d8987 100644 --- a/Makefile +++ b/Makefile @@ -63,6 +63,20 @@ logs: stop: docker-compose down +cert: + docker run --rm \ + --name certbot \ + -p 443:443 \ + -p 80:80 \ + -v /etc/letsencrypt:/etc/letsencrypt \ + certbot/certbot \ + certonly \ + --standalone \ + --non-interactive \ + --preferred-challenges http \ + --logs-dir /etc/letsencrypt/logs \ + -d rightplant.biospherecapital.com + clean: stop git clean -dxf