diff prod/update-itcm-app.sh @ 603:f5c4bb536604

Add mini orange envars
author Marc Davis <marc.davis@mcoecn.org>
date Tue, 17 Sep 2024 14:20:09 -0400
parents edf477197f1b
children
line wrap: on
line diff
--- a/prod/update-itcm-app.sh	Tue Sep 17 14:08:36 2024 -0400
+++ b/prod/update-itcm-app.sh	Tue Sep 17 14:20:09 2024 -0400
@@ -71,6 +71,19 @@
 fi
 #
 #
+if [ ! -z "$miniOrangeEnabled" ]; then
+    echo "Adding MiniOrange Configuration"
+    dockerRunCommand="$dockerRunCommand
+        -e MINI_ORANGE_ENABLED=$miniOrangeEnabled
+        -e MINI_ORANGE_CLIENT_ID=$miniOrangeClientId
+        -e MINI_ORANGE_CLIENT_SECRET=$miniOrangeClientSecret
+        -e MINI_ORANGE_API_HOSTNAME=$miniOrangeApiHostname
+        -e MINI_ORANGE_FAIL_OPEN=$miniOrangeFailOpen
+        -e MINI_ORANGE_APP_HOST=$miniOrangeEssHost
+        -e MINI_ORANGE_MINUTES_UNTIL_EXPIRATION=$miniOrangeMinutesUntilExpiration"
+fi
+#
+#
 if [ ! -z "$ads_config1_enabled" ]; then
     echo "Add Window Active Director Configuration 1"
     dockerRunCommand="$dockerRunCommand