From e35a46e10ce5e5b373a98fd862bdf9eaf1a104a7 Mon Sep 17 00:00:00 2001 From: burnettk Date: Wed, 27 Mar 2024 14:12:52 -0400 Subject: [PATCH] update get token and turn off background processor --- bin/get_token | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/get_token b/bin/get_token index e35ddbb..70c4ee5 100755 --- a/bin/get_token +++ b/bin/get_token @@ -9,4 +9,4 @@ set -o errtrace -o errexit -o nounset -o pipefail username="${1:-nelson}" -curl -s -X POST "localhost:8000/openid/token?code=${username}:this_is_not_secure_do_not_use_in_production" | jq -r .access_token +curl -s -X POST "localhost:8000/openid/token?code=${username}:this_is_not_secure_do_not_use_in_production" -H "Authorization: Basic c3BpZmZ3b3JrZmxvdy1iYWNrZW5kOm15X29wZW5faWRfc2VjcmV0X2tleQ==" | jq -r .access_token diff --git a/docker-compose.yml b/docker-compose.yml index cfb16b4..5c9da85 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -42,7 +42,7 @@ services: SPIFFWORKFLOW_BACKEND_OPEN_ID_SERVER_URL: "http://localhost:${SPIFF_BACKEND_PORT:-8000}/openid" SPIFFWORKFLOW_BACKEND_PERMISSIONS_FILE_ABSOLUTE_PATH: "${SPIFFWORKFLOW_BACKEND_PERMISSIONS_FILE_ABSOLUTE_PATH}" SPIFFWORKFLOW_BACKEND_PORT: "${SPIFF_BACKEND_PORT:-8000}" - SPIFFWORKFLOW_BACKEND_RUN_BACKGROUND_SCHEDULER_IN_CREATE_APP: "true" + SPIFFWORKFLOW_BACKEND_RUN_BACKGROUND_SCHEDULER_IN_CREATE_APP: "false" SPIFFWORKFLOW_BACKEND_UPGRADE_DB: "true" SPIFFWORKFLOW_BACKEND_URL_FOR_FRONTEND: "http://localhost:${SPIFFWORKFLOW_FRONTEND_PORT:-8001}" ports: