Mercurial > public > ssdt-docker
comparison prod/install-inventory-app.sh @ 417:c3f58eddce4f
INV-475: Added duo properties to inventory scripts.
author | Jason Klinger <klinger@nwoca.org> |
---|---|
date | Mon, 08 May 2023 17:05:19 +0100 |
parents | be08b5a62a77 |
children | f05817aee0f0 |
comparison
equal
deleted
inserted
replaced
415:edf477197f1b | 417:c3f58eddce4f |
---|---|
39 # | 39 # |
40 if [ ! -z "$hostPort" ]; then | 40 if [ ! -z "$hostPort" ]; then |
41 dockerRunCommand="$dockerRunCommand -p $hostPort" | 41 dockerRunCommand="$dockerRunCommand -p $hostPort" |
42 fi | 42 fi |
43 # | 43 # |
44 if [ ! -z "$duo_enabled" ]; then | |
45 dockerRunCommand="$dockerRunCommand -e DUO_ENABLED=$duo_enabled -e DUO_CLIENT_ID=$duo_client_id -e DUO_CLIENT_SECRET=$duo_client_secret -e DUO_API_HOSTNAME=$duo_api_hostname -e DUO_FAIL_OPEN=$duo_fail_open " | |
46 dockerRunCommand="$dockerRunCommand -e DUO_USXS_HOST=$duo_usxs_host -e DUO_USXS_PORT=$duo_usxs_port -e DUO_USXS_CONTEXT=$duo_usxs_context -e DUO_MINUTES_UNTIL_EXPIRATION=$duo_minutes_until_expiration " | |
47 fi | |
48 # | |
44 dockerRunCommand="$dockerRunCommand -d $artifactUrl/inventory-app:$appVersion" | 49 dockerRunCommand="$dockerRunCommand -d $artifactUrl/inventory-app:$appVersion" |
45 # | 50 # |
46 # Execute constructed docker run command to create $entityId-inventory-app container connected to db and docker network | 51 # Execute constructed docker run command to create $entityId-inventory-app container connected to db and docker network |
47 echo "Executing docker run command" | 52 echo "Executing docker run command" |
48 $dockerRunCommand | 53 $dockerRunCommand |