Mercurial > public > ssdt-docker
diff prod/update-workflows-app.sh @ 533:2e67cfae1533 production v2.17.0
flow: Merged <release> '2.17.0' to <master> ('production').
author | Marc Davis <marc.davis@mcoecn.org> |
---|---|
date | Thu, 02 May 2024 22:46:24 -0400 |
parents | e483148f5283 |
children |
line wrap: on
line diff
--- a/prod/update-workflows-app.sh Tue Jan 30 10:55:04 2024 -0500 +++ b/prod/update-workflows-app.sh Thu May 02 22:46:24 2024 -0400 @@ -50,6 +50,20 @@ dockerRunCommand="$dockerRunCommand -e USPS_CONFIGURATION_CONTEXT=$uspsContext" fi # +# If ESS Host is provided, assuming ESS connection needs configured. +# +if [ ! -z "$essHost" ]; then + echo "configuring employee self-service environment variables" + dockerRunCommand="$dockerRunCommand + -e ESS_HOST=$essHost + -e ESS_PORT=$essPort + -e ESS_API_KEY=$essApiKey + -e ESS_REMOTE_API_KEY=$essRemoteApiKey" +fi +# +if [ ! -z "$essContext" ]; then + dockerRunCommand="$dockerRunCommand -e ESS_CONTEXT=$essContext" +fi if [ ! -z "$virtualHost" ]; then dockerRunCommand="$dockerRunCommand -e VIRTUAL_HOST=$virtualHost" fi @@ -74,4 +88,4 @@ # # Execute constructed docker run command to create $entityId-workflows-app container connected to db and docker network echo "Executing docker run command" -$dockerRunCommand \ No newline at end of file +$dockerRunCommand