-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
services: | ||
routine-connector: | ||
image: samply/routine-connector:latest # TODO: Harbor image | ||
container_name: bridgehead-routine-connector | ||
environment: | ||
INSTITUTE_TTP_URL: "${INSTITUTE_TTP_URL}" | ||
INSTITUTE_TTP_API_KEY: "${INSTITUTE_TTP_API_KEY}" | ||
PROJECT_ID_SYSTEM: "${PROJECT_ID_SYSTEM}" | ||
FHIR_REQUEST_URL: "${FHIR_REQUEST_URL}" | ||
FHIR_INPUT_URL: "${FHIR_INPUT_URL}" | ||
FHIR_OUTPUT_URL: "${FHIR_OUTPUT_URL}" | ||
FHIR_REQUEST_CREDENTIALS: "${FHIR_REQUEST_CREDENTIALS}" | ||
FHIR_INPUT_CREDENTIALS: "${FHIR_INPUT_CREDENTIALS}" | ||
FHIR_OUTPUT_CREDENTIALS: "${FHIR_OUTPUT_CREDENTIALS}" | ||
EXCHANGE_ID_SYSTEM: "SESSION_ID" | ||
DATABASE_URL: "sqlite://routine-connector/data_requests.sql?mode=rwc" | ||
volumes: | ||
- /var/cache/bridgehead/${PROJECT}/routine-connector:/routine-connector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
services: | ||
routine-connector-blaze: | ||
image: docker.verbis.dkfz.de/cache/samply/blaze:0.28 | ||
container_name: bridgehead-routine-connector-blaze | ||
environment: | ||
BASE_URL: "http://bridgehead-ccp-blaze:8080" | ||
JAVA_TOOL_OPTIONS: "-Xmx${BLAZE_MEMORY_CAP:-4096}m" | ||
DB_RESOURCE_CACHE_SIZE: ${BLAZE_RESOURCE_CACHE_CAP:-2500000} | ||
DB_BLOCK_CACHE_SIZE: ${BLAZE_MEMORY_CAP} | ||
CQL_EXPR_CACHE_SIZE: ${BLAZE_CQL_CACHE_CAP:-32} | ||
ENFORCE_REFERENTIAL_INTEGRITY: "false" | ||
volumes: | ||
- "routine-blaze-data:/app/data" | ||
|
||
volumes: | ||
routine-balze-data: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash -e | ||
|
||
function routineConnectorSetup() { | ||
assertVarsNotEmpty INSTITUTE_TTP_URL INSTITUTE_TTP_API_KEY PROJECT_ID_SYSTEM FHIR_REQUEST_URL FHIR_INPUT_URL | ||
OVERRIDE+=" -f ./modules/routine-connector-compose.yml" | ||
if [ -n "$FHIR_OUTPUT_URL" ]; then | ||
log INFO "Routine connector output fhir store set to external $FHIR_OUTPUT_URL" | ||
else | ||
log INFO "Routine connector output fhir store not set writing to internal blaze" | ||
FHIR_OUTPUT_URL="http://routine-connector-blaze:8080" | ||
OVERRIDE+=" -f ./modules/routine-connector-compose.yml" | ||
fi | ||
} |