comparison prod/install-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
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