1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-07 19:05:07 -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 @@ if($domain -ne "localhost") {
if(!(Test-Path -Path $letsEncryptPath )){
New-Item -ItemType directory -Path $letsEncryptPath | Out-Null
}
docker pull certbot/certbot
docker run -it --rm --name certbot -p 80:80 -v $outputDir/letsencrypt:/etc/letsencrypt/ certbot/certbot `
certonly --standalone --noninteractive --agree-tos --preferred-challenges http --email $email -d $domain `
--logs-dir /etc/letsencrypt/logs
}
}
docker pull bitwarden/setup
docker run -it --rm --name setup -v ${outputDir}:/bitwarden bitwarden/setup `
dotnet Setup.dll -install 1 -domain ${domain} -letsencrypt ${letsEncrypt}