forked from extern/docker
Merge pull request #118 from bb/patch-1
Exclude CLIENT_TITLE when generating compose file
This commit is contained in:
commit
e61d83fd37
@ -6,8 +6,8 @@ cd $(dirname $0)/..
|
|||||||
# load .env
|
# load .env
|
||||||
if [ -f .env ]
|
if [ -f .env ]
|
||||||
then
|
then
|
||||||
# exclude WELCOME_MESSAGE && WELCOME_FOOTER because it may contain invalid characters
|
# exclude WELCOME_MESSAGE && WELCOME_FOOTER && CLIENT_TITLE because it may contain invalid characters
|
||||||
export $(cat .env | sed 's/#.*//g' | grep -v "WELCOME_FOOTER" | grep -v "WELCOME_MESSAGE" | xargs)
|
export $(cat .env | sed 's/#.*//g' | grep -v "WELCOME_FOOTER" | grep -v "WELCOME_MESSAGE" | grep -v "CLIENT_TITLE" | xargs)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# check for non-optional environment variables,
|
# check for non-optional environment variables,
|
||||||
|
Loading…
Reference in New Issue
Block a user