mirror of
https://github.com/bitwarden/server.git
synced 2025-07-07 10:55:43 -05:00
more pulling
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user