Mercurial > public > ssdt-docker
comparison prod/update-inventory-app.sh @ 421:5b027b3e5c8e production 2.16.0
flow: Merged <release> '2.16.0' to <master> ('production').
author | Jason Klinger <klinger@nwoca.org> |
---|---|
date | Tue, 09 May 2023 18:34:52 +0100 |
parents | c3f58eddce4f |
children | f05817aee0f0 |
comparison
equal
deleted
inserted
replaced
414:ff70a9d9571c | 421:5b027b3e5c8e |
---|---|
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 |