1
0
mirror of https://github.com/bitwarden/server synced 2025-12-15 15:53:59 +00:00

bash script updates

This commit is contained in:
Kyle Spearrin
2017-08-19 21:45:13 -04:00
parent b095a3b6fd
commit 9057815041
5 changed files with 65 additions and 35 deletions

View File

@@ -4,7 +4,7 @@ set -e
docker --version
echo ""
OUTPUT_DIR=~/bitwarden
OUTPUT_DIR="../."
if [ $# -eq 1 ]
then
OUTPUT_DIR=$1
@@ -14,7 +14,7 @@ mkdir -p $OUTPUT_DIR
read -p "(!) Enter the domain name for your bitwarden instance (ex. bitwarden.company.com): " DOMAIN
read -p "(!) Do you want to use Let's Encrypt to generate a free SSL certificate? (y/n): " LETS_ENCRYPT
if [ $LETS_ENCRYPT == 'y' ]
if [ $LETS_ENCRYPT == "y" ]
then
read -p "(!) Enter your email address (Let's Encrypt will send you certificate expiration reminders): " EMAIL
mkdir -p $OUTPUT_DIR/letsencrypt/live/$DOMAIN