diff --git a/scripts/generate-compose b/scripts/generate-compose index 0e88a93..e2e7691 100755 --- a/scripts/generate-compose +++ b/scripts/generate-compose @@ -6,8 +6,8 @@ cd $(dirname $0)/.. # load .env if [ -f .env ] then - # exclude WELCOME_MESSAGE && WELCOME_FOOTER because it may contain invalid characters - export $(cat .env | sed 's/#.*//g' | grep -v "WELCOME_FOOTER" | grep -v "WELCOME_MESSAGE" | xargs) + # 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" | grep -v "CLIENT_TITLE" | xargs) fi # check for non-optional environment variables, @@ -31,4 +31,4 @@ docker run \ -e NUMBER_OF_BACKEND_NODEJS_PROCESSES=${NUMBER_OF_BACKEND_NODEJS_PROCESSES:-1} \ -e NUMBER_OF_FRONTEND_NODEJS_PROCESSES=${NUMBER_OF_FRONTEND_NODEJS_PROCESSES:-1} \ jwilder/dockerize -template /docker-compose.tmpl.yml \ - > docker-compose.yml \ No newline at end of file + > docker-compose.yml