New script for automating build deployment

This commit is contained in:
Marwolf
2018-08-11 00:01:31 -04:00
parent b3b48f737d
commit 5ee4051c90
2 changed files with 43 additions and 0 deletions

9
Website_Certbot_HTTPS.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
sudo docker run -it --rm --name certbot \
-v `pwd`/etc/letsencrypt/certs:/etc/letsencrypt \
-v `pwd`/etc/letsencrypt/data:/data/letsencrypt \
deliverous/certbot \
certonly \
--webroot --webroot-path=/data/letsencrypt \
-d openrsc.com -d www.openrsc.com --staging