Mercurial > public > ssdt-docker
diff prod/install-ess-app.sh @ 580:b6f03eb10850
add option to run applications as support instances
author | Marc Davis <marc.davis@mcoecn.org> |
---|---|
date | Thu, 05 Sep 2024 14:08:27 -0400 |
parents | e483148f5283 |
children | d69f39c55332 |
line wrap: on
line diff
--- a/prod/install-ess-app.sh Wed Sep 04 12:55:21 2024 -0400 +++ b/prod/install-ess-app.sh Thu Sep 05 14:08:27 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