1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-07 10:55:43 -05:00

more pulling

This commit is contained in:
Kyle Spearrin
2017-08-26 22:54:10 -04:00
parent 189240c81f
commit 43199e9a44
4 changed files with 10 additions and 0 deletions

View File

@ -19,12 +19,14 @@ then
then
read -p "(!) Enter your email address (Let's Encrypt will send you certificate expiration reminders): " EMAIL
mkdir -p $OUTPUT_DIR/letsencrypt
docker pull certbot/certbot
docker run -it --rm --name certbot -p 80:80 -v $OUTPUT_DIR/letsencrypt:/etc/letsencrypt/ certbot/certbot \
certonly --standalone --noninteractive --agree-tos --preferred-challenges http --email $EMAIL -d $DOMAIN \
--logs-dir /etc/letsencrypt/logs
fi
fi
docker pull bitwarden/setup
docker run -it --rm --name setup -v $OUTPUT_DIR:/bitwarden bitwarden/setup \
dotnet Setup.dll -install 1 -domain $DOMAIN -letsencrypt $LETS_ENCRYPT