Mercurial > public > ssdt-docker
comparison prod/update-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 |
comparison
equal
deleted
inserted
replaced
577:46eb4a0ea5b6 | 580:b6f03eb10850 |
---|---|
110 -e SSDT_ADS_CONFIG3_ROOT_DN=$ads_config3_root_dn | 110 -e SSDT_ADS_CONFIG3_ROOT_DN=$ads_config3_root_dn |
111 -e SSDT_ADS_CONFIG3_SEARCH_FILTER=$ads_config3_search_filter" | 111 -e SSDT_ADS_CONFIG3_SEARCH_FILTER=$ads_config3_search_filter" |
112 fi | 112 fi |
113 # | 113 # |
114 # | 114 # |
115 support_instance=${support_instance:-false} | |
116 if [ "$support_instance" = "true" ]; then | |
117 echo "Setting application instance type to Support" | |
118 dockerRunCommand="$dockerRunCommand -e APPLICATION_INSTANCE_TYPE=Support" | |
119 fi | |
120 # | |
121 # | |
115 dockerRunCommand="$dockerRunCommand -d $artifactUrl/ess-app:$appVersion" | 122 dockerRunCommand="$dockerRunCommand -d $artifactUrl/ess-app:$appVersion" |
116 # | 123 # |
117 # Execute constructed docker run command to create $entityId-ess-app container connected to db and docker network | 124 # Execute constructed docker run command to create $entityId-ess-app container connected to db and docker network |
118 echo "Executing docker run command" | 125 echo "Executing docker run command" |
119 $dockerRunCommand | 126 $dockerRunCommand |