mirror of https://github.com/samply/bridgehead.git
Merge pull request #87 from samply/main
Merge Focus als Spot replacment from main
This commit is contained in:
commit
6cbf7915f0
|
@ -71,15 +71,17 @@ services:
|
||||||
- "traefik.http.routers.blaze_ccp.middlewares=ccp_b_strip,auth"
|
- "traefik.http.routers.blaze_ccp.middlewares=ccp_b_strip,auth"
|
||||||
- "traefik.http.routers.blaze_ccp.tls=true"
|
- "traefik.http.routers.blaze_ccp.tls=true"
|
||||||
|
|
||||||
spot:
|
focus:
|
||||||
image: docker.verbis.dkfz.de/cache/samply/spot:latest
|
image: docker.verbis.dkfz.de/cache/samply/focus:main
|
||||||
container_name: bridgehead-spot
|
container_name: bridgehead-focus
|
||||||
environment:
|
environment:
|
||||||
SECRET: ${SPOT_BEAM_SECRET_LONG}
|
SECRET: ${FOCUS_BEAM_SECRET_SHORT}
|
||||||
APPID: spot
|
BEAM_APP_ID_LONG: focus.${PROXY_ID}
|
||||||
PROXY_ID: ${PROXY_ID}
|
PROXY_ID: ${PROXY_ID}
|
||||||
LDM_URL: http://bridgehead-ccp-blaze:8080/fhir
|
BLAZE_URL: "http://bridgehead-ccp-blaze:8080/fhir/"
|
||||||
BEAM_PROXY: http://beam-proxy:8081
|
BEAM_PROXY_URL: http://beam-proxy:8081
|
||||||
|
RETRY_COUNT: ${FOCUS_RETRY_COUNT}
|
||||||
|
OBFUSCATE: "no"
|
||||||
depends_on:
|
depends_on:
|
||||||
- "beam-proxy"
|
- "beam-proxy"
|
||||||
- "blaze"
|
- "blaze"
|
||||||
|
@ -90,8 +92,8 @@ services:
|
||||||
environment:
|
environment:
|
||||||
BROKER_URL: ${BROKER_URL}
|
BROKER_URL: ${BROKER_URL}
|
||||||
PROXY_ID: ${PROXY_ID}
|
PROXY_ID: ${PROXY_ID}
|
||||||
APP_0_ID: spot
|
APP_0_ID: focus
|
||||||
APP_0_KEY: ${SPOT_BEAM_SECRET_SHORT}
|
APP_0_KEY: ${FOCUS_BEAM_SECRET_SHORT}
|
||||||
APP_1_ID: report-hub
|
APP_1_ID: report-hub
|
||||||
APP_1_KEY: ${REPORTHUB_BEAM_SECRET_SHORT}
|
APP_1_KEY: ${REPORTHUB_BEAM_SECRET_SHORT}
|
||||||
PRIVKEY_FILE: /run/secrets/proxy.pem
|
PRIVKEY_FILE: /run/secrets/proxy.pem
|
||||||
|
|
4
ccp/vars
4
ccp/vars
|
@ -1,8 +1,8 @@
|
||||||
BROKER_ID=broker.ccp-it.dktk.dkfz.de
|
BROKER_ID=broker.ccp-it.dktk.dkfz.de
|
||||||
BROKER_URL=https://${BROKER_ID}
|
BROKER_URL=https://${BROKER_ID}
|
||||||
PROXY_ID=${SITE_ID}.${BROKER_ID}
|
PROXY_ID=${SITE_ID}.${BROKER_ID}
|
||||||
SPOT_BEAM_SECRET_SHORT="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
|
FOCUS_BEAM_SECRET_SHORT="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
|
||||||
SPOT_BEAM_SECRET_LONG="ApiKey spot.${PROXY_ID} ${SPOT_BEAM_SECRET_SHORT}"
|
FOCUS_RETRY_COUNT=32
|
||||||
REPORTHUB_BEAM_SECRET_SHORT="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
|
REPORTHUB_BEAM_SECRET_SHORT="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
|
||||||
REPORTHUB_BEAM_SECRET_LONG="ApiKey report-hub.${PROXY_ID} ${REPORTHUB_BEAM_SECRET_SHORT}"
|
REPORTHUB_BEAM_SECRET_LONG="ApiKey report-hub.${PROXY_ID} ${REPORTHUB_BEAM_SECRET_SHORT}"
|
||||||
SUPPORT_EMAIL=support-ccp@dkfz-heidelberg.de
|
SUPPORT_EMAIL=support-ccp@dkfz-heidelberg.de
|
||||||
|
|
Loading…
Reference in New Issue