changeset 602:d69f39c55332

Add mini orange envars
author Marc Davis <marc.davis@mcoecn.org>
date Tue, 17 Sep 2024 14:08:36 -0400
parents 9ffea58d7c66
children f5c4bb536604
files prod/install-ess-app.sh prod/update-ess-app.sh
diffstat 2 files changed, 26 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/prod/install-ess-app.sh	Tue Sep 17 08:26:02 2024 -0400
+++ b/prod/install-ess-app.sh	Tue Sep 17 14:08:36 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
--- a/prod/update-ess-app.sh	Tue Sep 17 08:26:02 2024 -0400
+++ b/prod/update-ess-app.sh	Tue Sep 17 14:08:36 2024 -0400
@@ -79,6 +79,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