mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
add missing PROVIDER env variable for docker (#2404)
* add missing PROVIDER env variable for docker * fix docker env propagation * fix code * update docker vars
This commit is contained in:
@@ -10,6 +10,12 @@ echo "replace APP_CONFIG_AUTH_TYPE"
|
||||
-i "${NGINX_ENVSUBST_OUTPUT_DIR}/app.config.json"
|
||||
fi
|
||||
|
||||
if [ -n "${APP_CONFIG_PROVIDER}"]; then
|
||||
echo "replace APP_CONFIG_PROVIDER"
|
||||
sed -e "s/\"providers\": \".*\"/\"providers\": \"${APP_CONFIG_PROVIDER}\"/g" \
|
||||
-i "${NGINX_ENVSUBST_OUTPUT_DIR}/app.config.json"
|
||||
fi
|
||||
|
||||
if [ -n "${APP_CONFIG_IDENTITY_HOST}" ]; then
|
||||
echo "replace APP_CONFIG_IDENTITY_HOST"
|
||||
replace="\/"
|
||||
|
Reference in New Issue
Block a user