From e6f8411d4289ecc8dfec8ea3edea9e8688b9a02f Mon Sep 17 00:00:00 2001 From: Kristofer Hallin Date: Fri, 4 Feb 2022 09:37:48 +0100 Subject: Use SSL and added a -b flag to quickstart.sh --- quickstart.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'quickstart.sh') diff --git a/quickstart.sh b/quickstart.sh index 950475b..7c14a1f 100755 --- a/quickstart.sh +++ b/quickstart.sh @@ -1,6 +1,14 @@ #!/bin/sh source env-vars.sh +build="" + +while getopts "b" flag +do + case "$flag" in + b) build="--build";; + esac +done # Create a directory to store the certificates in. if [ ! -d ${DOCKER_JWT_PUBKEY_PATH} ]; then @@ -34,5 +42,5 @@ if [ ! -f ${DOCKER_JWT_HTPASSWD_PATH}/userdb.yaml ]; then fi # Launch the containers. -docker-compose -f docker/docker-compose-dev.yaml up -d -docker-compose -f auth-server-poc/docker-compose.yml up -d +docker-compose -f docker/docker-compose-dev.yaml up -d $build +docker-compose -f auth-server-poc/docker-compose.yml up -d $build -- cgit v1.1