Mercurial > public > ssdt-docker
diff prod/update-inventory-app.sh @ 604:f05817aee0f0
Add mini orange envars
author | Marc Davis <marc.davis@mcoecn.org> |
---|---|
date | Tue, 17 Sep 2024 14:25:27 -0400 |
parents | c3f58eddce4f |
children |
line wrap: on
line diff
--- a/prod/update-inventory-app.sh Tue Sep 17 14:20:09 2024 -0400 +++ b/prod/update-inventory-app.sh Tue Sep 17 14:25:27 2024 -0400 @@ -56,6 +56,13 @@ dockerRunCommand="$dockerRunCommand -e DUO_USXS_HOST=$duo_usxs_host -e DUO_USXS_PORT=$duo_usxs_port -e DUO_USXS_CONTEXT=$duo_usxs_context -e DUO_MINUTES_UNTIL_EXPIRATION=$duo_minutes_until_expiration " fi # +# +if [ ! -z "$miniOrangeEnabled" ]; then + echo "Adding MiniOrange Configuration" + dockerRunCommand="$dockerRunCommand -e MINI_ORANGE_ENABLED=$miniOrangeEnabled -e MINI_ORANGE_CLIENT_ID=$miniOrangeClientId -e MINI_ORANGE_CLIENT_SECRET=$miniOrangeClientSecret -e MINI_ORANGE_API_HOSTNAME=$miniOrangeApiHostname " + dockerRunCommand="$dockerRunCommand -e MINI_ORANGE_FAIL_OPEN=$miniOrangeFailOpen -e MINI_ORANGE_APP_HOST=$miniOrangeEssHost -e MINI_ORANGE_MINUTES_UNTIL_EXPIRATION=$miniOrangeMinutesUntilExpiration " +fi +# dockerRunCommand="$dockerRunCommand -d $artifactUrl/inventory-app:$appVersion" # # Execute constructed docker run command to create $entityId-inventory-app container connected to db and docker network