diff 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
line wrap: on
line diff
--- a/prod/install-inventory-app.sh	Fri Oct 14 10:20:38 2022 -0400
+++ b/prod/install-inventory-app.sh	Tue May 09 18:34:52 2023 +0100
@@ -41,6 +41,11 @@
     dockerRunCommand="$dockerRunCommand -p $hostPort"
 fi
 #
+if [ ! -z "$duo_enabled" ]; then
+    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 "
+    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 "
+fi
+#
 dockerRunCommand="$dockerRunCommand -d $artifactUrl/inventory-app:$appVersion"
 #
 # Execute constructed docker run command to create $entityId-inventory-app container connected to db and docker network