Add recipe for creating certificates
This commit is contained in:
parent
cd93fe8708
commit
7e505ad493
1 changed files with 14 additions and 0 deletions
14
Makefile
14
Makefile
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue