1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00

fix lets encrypt path prop reference

This commit is contained in:
Kyle Spearrin 2017-08-21 13:06:08 -04:00
parent f51d1ab8fe
commit 8dd921aae9

View File

@ -27,7 +27,7 @@ docker-compose --version
docker-compose -f $DOCKER_DIR/docker-compose.yml -f $DOCKER_DIR/docker-compose.$OS.yml down docker-compose -f $DOCKER_DIR/docker-compose.yml -f $DOCKER_DIR/docker-compose.$OS.yml down
LETS_ENCRYPT_PATH = "${outputDir}/letsencrypt" LETS_ENCRYPT_PATH = "${outputDir}/letsencrypt"
if [ -d "LETS_ENCRYPT_PATH" ] if [ -d "${LETS_ENCRYPT_PATH}" ]
then then
docker run -it --rm --name certbot -p 443:443 -p 80:80 -v $OUTPUT_DIR/letsencrypt:/etc/letsencrypt/ certbot/certbot \ docker run -it --rm --name certbot -p 443:443 -p 80:80 -v $OUTPUT_DIR/letsencrypt:/etc/letsencrypt/ certbot/certbot \
renew --logs-dir /etc/letsencrypt/logs renew --logs-dir /etc/letsencrypt/logs