Add recipe for creating certificates

This commit is contained in:
Matthew Northcott 2023-03-30 10:35:08 +13:00
parent cd93fe8708
commit 7e505ad493

View file

@ -63,6 +63,20 @@ logs:
stop: stop:
docker-compose down 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 clean: stop
git clean -dxf git clean -dxf