pbowden-msft / MAUCacheAdmin

Microsoft AutoUpdate Cache Admin
70 stars 15 forks source link

Allow use of env vars #24

Closed chelming closed 5 years ago

chelming commented 5 years ago

I'm working toward creating a docker container for MAUCacheAdmin and part of it is going to have things available as environment variables. I'm using a noop (:) approach to keeps lines smaller.

All the variables can still be overridden, for example:

: "${SLACK_NOTIFY:=true}"
: "${SLACK_WEBHOOK_URL:=https://hooks.slack.com/services/randomcharacters}"
: "${SLACK_ICON_URL:=https://macadmins.software/icons/othericon.png}"