mirror of
https://github.com/bitwarden/server.git
synced 2024-12-23 17:07:42 +01:00
stage testing letsencrypt
This commit is contained in:
parent
437422ca60
commit
5fe587ea9f
@ -23,7 +23,8 @@ if($domain -ne "localhost") {
|
||||
New-Item -ItemType directory -Path $letsEncryptPath | Out-Null
|
||||
}
|
||||
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
|
||||
certonly --standalone --noninteractive --agree-tos --preferred-challenges http --email $email -d $domain `
|
||||
--logs-dir $outputDir/letsencrypt/logs --staging
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ docker-compose --version
|
||||
$letsEncryptLivePath = "${outputDir}/letsencrypt/live"
|
||||
if(Test-Path -Path $letsEncryptLivePath) {
|
||||
docker run -it --rm --name certbot -p 443:443 -p 80:80 -v $outputDir/letsencrypt:/etc/letsencrypt/ certbot/certbot `
|
||||
renew
|
||||
renew --logs-dir $outputDir/letsencrypt/logs --staging
|
||||
}
|
||||
|
||||
docker-compose -f ${dockerDir}\docker-compose.yml -f ${dockerDir}\docker-compose.macwin.yml down
|
||||
|
Loading…
Reference in New Issue
Block a user