From 37d022a1efe356e3eef2f6ca12807f4bffe7fa3b Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Mon, 19 Sep 2022 09:45:18 +0200 Subject: [PATCH] added env variables --- app-config/caimira-webservice/app.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app-config/caimira-webservice/app.sh b/app-config/caimira-webservice/app.sh index 9ea2862a..0d0452c8 100755 --- a/app-config/caimira-webservice/app.sh +++ b/app-config/caimira-webservice/app.sh @@ -13,6 +13,10 @@ if [[ "$APP_NAME" == "caimira-webservice" ]]; then if [ ! -z "$CAIMIRA_CALCULATOR_PREFIX" ]; then args+=("--prefix=${CAIMIRA_CALCULATOR_PREFIX}") fi + + export "ARVE_API_KEY"="$ARVE_API_KEY" + export "ARVE_CLIENT_ID"="$ARVE_CLIENT_ID" + export "ARVE_CLIENT_SECRET"="$ARVE_CLIENT_SECRET" echo "Starting the caimira webservice with: python -m caimira.apps.calculator ${args[@]}" python -m caimira.apps.calculator "${args[@]}"