Mercurial > public > ssdt-docker
changeset 603:f5c4bb536604
Add mini orange envars
author | Marc Davis <marc.davis@mcoecn.org> |
---|---|
date | Tue, 17 Sep 2024 14:20:09 -0400 |
parents | d69f39c55332 |
children | f05817aee0f0 |
files | prod/install-itcm-app.sh prod/update-itcm-app.sh |
diffstat | 2 files changed, 26 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/prod/install-itcm-app.sh Tue Sep 17 14:08:36 2024 -0400 +++ b/prod/install-itcm-app.sh Tue Sep 17 14:20:09 2024 -0400 @@ -61,6 +61,19 @@ 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 + -e MINI_ORANGE_FAIL_OPEN=$miniOrangeFailOpen + -e MINI_ORANGE_APP_HOST=$miniOrangeEssHost + -e MINI_ORANGE_MINUTES_UNTIL_EXPIRATION=$miniOrangeMinutesUntilExpiration" +fi +# +# if [ ! -z "$ads_config1_enabled" ]; then echo "Add Window Active Director Configuration 1" dockerRunCommand="$dockerRunCommand
--- a/prod/update-itcm-app.sh Tue Sep 17 14:08:36 2024 -0400 +++ b/prod/update-itcm-app.sh Tue Sep 17 14:20:09 2024 -0400 @@ -71,6 +71,19 @@ 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 + -e MINI_ORANGE_FAIL_OPEN=$miniOrangeFailOpen + -e MINI_ORANGE_APP_HOST=$miniOrangeEssHost + -e MINI_ORANGE_MINUTES_UNTIL_EXPIRATION=$miniOrangeMinutesUntilExpiration" +fi +# +# if [ ! -z "$ads_config1_enabled" ]; then echo "Add Window Active Director Configuration 1" dockerRunCommand="$dockerRunCommand