Mercurial > public > ssdt-docker
comparison prod/update-inventory-app.sh @ 418:abe2edacbcb5 release/2.16.0
INV-475: Merging changes onto release branch.
author | Jason Klinger <klinger@nwoca.org> |
---|---|
date | Tue, 09 May 2023 18:34:22 +0100 |
parents | c3f58eddce4f |
children | f05817aee0f0 |
comparison
equal
deleted
inserted
replaced
416:d4d3cf9aef5e | 418:abe2edacbcb5 |
---|---|
49 # | 49 # |
50 if [ ! -z "$hostPort" ]; then | 50 if [ ! -z "$hostPort" ]; then |
51 dockerRunCommand="$dockerRunCommand -p $hostPort" | 51 dockerRunCommand="$dockerRunCommand -p $hostPort" |
52 fi | 52 fi |
53 # | 53 # |
54 if [ ! -z "$duo_enabled" ]; then | |
55 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 " | |
56 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 " | |
57 fi | |
58 # | |
54 dockerRunCommand="$dockerRunCommand -d $artifactUrl/inventory-app:$appVersion" | 59 dockerRunCommand="$dockerRunCommand -d $artifactUrl/inventory-app:$appVersion" |
55 # | 60 # |
56 # Execute constructed docker run command to create $entityId-inventory-app container connected to db and docker network | 61 # Execute constructed docker run command to create $entityId-inventory-app container connected to db and docker network |
57 echo "Executing docker run command" | 62 echo "Executing docker run command" |
58 $dockerRunCommand | 63 $dockerRunCommand |