comparison prod/install-inventory-app.sh @ 402:be08b5a62a77

INV-334: Updated inventory scripts to handle new reset property.
author Jason Klinger <klinger@nwoca.org>
date Fri, 20 May 2022 19:49:19 +0100
parents cf7166c5c52f
children c3f58eddce4f
comparison
equal deleted inserted replaced
400:bf71cdd3f892 402:be08b5a62a77
31 # 31 #
32 if [ ! -z "$letsencryptEmail" ]; then 32 if [ ! -z "$letsencryptEmail" ]; then
33 dockerRunCommand="$dockerRunCommand -e LETSENCRYPT_EMAIL=$letsencryptEmail" 33 dockerRunCommand="$dockerRunCommand -e LETSENCRYPT_EMAIL=$letsencryptEmail"
34 fi 34 fi
35 # 35 #
36 if [ ! -z "$applicationAdminReset" ]; then
37 dockerRunCommand="$dockerRunCommand -e APPLICATION_ADMIN_RESET=$applicationAdminReset"
38 fi
39 #
36 if [ ! -z "$hostPort" ]; then 40 if [ ! -z "$hostPort" ]; then
37 dockerRunCommand="$dockerRunCommand -p $hostPort" 41 dockerRunCommand="$dockerRunCommand -p $hostPort"
38 fi 42 fi
39 # 43 #
40 dockerRunCommand="$dockerRunCommand -d $artifactUrl/inventory-app:$appVersion" 44 dockerRunCommand="$dockerRunCommand -d $artifactUrl/inventory-app:$appVersion"