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