mirror of https://github.com/samply/bridgehead.git
Merge pull request #46 from samply/feature/addReportHub
Feature/add report hub
This commit is contained in:
commit
d8db3bee6d
|
@ -0,0 +1,34 @@
|
||||||
|
version: "3.7"
|
||||||
|
|
||||||
|
services:
|
||||||
|
exliquid-task-store:
|
||||||
|
image: "samply/blaze:0.18"
|
||||||
|
container_name: bridgehead-exliquid-task-store
|
||||||
|
environment:
|
||||||
|
BASE_URL: "http://bridgehead-exliquid-task-store:8080"
|
||||||
|
JAVA_TOOL_OPTIONS: "-Xmx1g"
|
||||||
|
volumes:
|
||||||
|
- "exliquid-task-store-data:/app/data"
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=false"
|
||||||
|
|
||||||
|
exliquid-report-hub:
|
||||||
|
image: "samply/report-hub:latest"
|
||||||
|
container_name: bridgehead-exliquid-report-hub
|
||||||
|
environment:
|
||||||
|
SPRING_WEBFLUX_BASE_PATH: "/exliquid"
|
||||||
|
JAVA_TOOL_OPTIONS: "-Xmx1g"
|
||||||
|
PROXY_ID: "report-hub.${PROXY_ID}"
|
||||||
|
SECRET: ${REPORTHUB_BEAM_SECRET_SHORT}
|
||||||
|
APP_TASKSTORE_BASEURL: "http://bridgehead-exliquid-task-store:8080/fhir"
|
||||||
|
APP_DATASTORE_BASEURL: http://bridgehead-ccp-blaze:8080/fhir
|
||||||
|
BEAM_PROXY: "http://beam-proxy:8081"
|
||||||
|
restart: always
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.report-ccp.rule=PathPrefix(`/exliquid`)"
|
||||||
|
- "traefik.http.services.report-ccp.loadbalancer.server.port=8080"
|
||||||
|
- "traefik.http.routers.report-ccp.tls=true"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
exliquid-task-store-data:
|
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
function exliquidSetup() {
|
||||||
|
case ${SITE_ID} in
|
||||||
|
berlin|dresden|essen|frankfurt|freiburg|luebeck|mainz|muenchen-lmu|muenchen-tu|mannheim|tuebingen)
|
||||||
|
EXLIQUID=1
|
||||||
|
;;
|
||||||
|
dktk-test)
|
||||||
|
EXLIQUID=1
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
EXLIQUID=0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
if [[ $EXLIQUID -eq 1 ]]; then
|
||||||
|
log INFO "EXLIQUID setup detected -- will start Report-Hub."
|
||||||
|
OVERRIDE+="-f ./$PROJECT/exliquid-compose.yml"
|
||||||
|
fi
|
||||||
|
}
|
2
ccp/vars
2
ccp/vars
|
@ -11,3 +11,5 @@ PRIVATEKEYFILENAME=/etc/bridgehead/pki/${SITE_ID}.priv.pem
|
||||||
# This will load nngm setup. Effective only if nngm configuration is defined.
|
# This will load nngm setup. Effective only if nngm configuration is defined.
|
||||||
source $PROJECT/nngm-setup.sh
|
source $PROJECT/nngm-setup.sh
|
||||||
nngmSetup
|
nngmSetup
|
||||||
|
source $PROJECT/exliquid-setup.sh
|
||||||
|
exliquidSetup
|
||||||
|
|
Loading…
Reference in New Issue