From 26712d3567225e8c5071456f7120ca94b326d7d0 Mon Sep 17 00:00:00 2001 From: davidmscholz <130749829+davidmscholz@users.noreply.github.com> Date: Wed, 30 Oct 2024 15:21:15 +0100 Subject: [PATCH] feat: add and set FOCUS_ENDPOINT_TYPE to support fhir2sql (#244) * add and set FOCUS_ENDPOINT_TYPE Co-authored-by: Jan <59206115+Threated@users.noreply.github.com> --------- Co-authored-by: davidmscholz Co-authored-by: Jan <59206115+Threated@users.noreply.github.com> --- ccp/docker-compose.yml | 1 + ccp/modules/fhir2sql-setup.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/ccp/docker-compose.yml b/ccp/docker-compose.yml index 2e4e139..e63f5a5 100644 --- a/ccp/docker-compose.yml +++ b/ccp/docker-compose.yml @@ -33,6 +33,7 @@ services: RETRY_COUNT: ${FOCUS_RETRY_COUNT} EPSILON: 0.28 QUERIES_TO_CACHE: '/queries_to_cache.conf' + ENDPOINT_TYPE: ${FOCUS_ENDPOINT_TYPE:-blaze} volumes: - /srv/docker/bridgehead/ccp/queries_to_cache.conf:/queries_to_cache.conf depends_on: diff --git a/ccp/modules/fhir2sql-setup.sh b/ccp/modules/fhir2sql-setup.sh index 64fa7c0..8c9a72b 100644 --- a/ccp/modules/fhir2sql-setup.sh +++ b/ccp/modules/fhir2sql-setup.sh @@ -4,4 +4,5 @@ if [ "$ENABLE_FHIR2SQL" == true ]; then log INFO "Dashboard setup detected -- will start Dashboard backend and FHIR2SQL service." OVERRIDE+=" -f ./$PROJECT/modules/fhir2sql-compose.yml" DASHBOARD_DB_PASSWORD="$(generate_simple_password 'fhir2sql')" + FOCUS_ENDPOINT_TYPE="blaze-and-sql" fi