diff prod/install-ess-app.sh @ 586:f897ce55c610 production v2.19.0

flow: Merged <release> '2.19.0' to <master> ('production').
author Marc Davis <marc.davis@mcoecn.org>
date Thu, 05 Sep 2024 14:09:51 -0400
parents b6f03eb10850
children d69f39c55332
line wrap: on
line diff
--- a/prod/install-ess-app.sh	Wed Sep 04 12:55:22 2024 -0400
+++ b/prod/install-ess-app.sh	Thu Sep 05 14:09:51 2024 -0400
@@ -104,6 +104,13 @@
 fi
 #
 #
+support_instance=${support_instance:-false}
+if [ "$support_instance" = "true" ]; then
+    echo "Setting application instance type to Support"
+    dockerRunCommand="$dockerRunCommand -e APPLICATION_INSTANCE_TYPE=Support"
+fi
+#
+#
 dockerRunCommand="$dockerRunCommand -d $artifactUrl/ess-app:$appVersion"
 #
 # Execute constructed docker run command to create $entityId-ess-app container connected to db and docker network