and proxy name

This commit is contained in:
Enola Knezevic 2023-03-23 15:30:28 +01:00
parent caeb303497
commit 6530aca843
2 changed files with 4 additions and 4 deletions

View File

@ -76,8 +76,8 @@ services:
container_name: bridgehead-focus container_name: bridgehead-focus
environment: environment:
API_KEY: ${FOCUS_BEAM_SECRET_SHORT} API_KEY: ${FOCUS_BEAM_SECRET_SHORT}
BEAM_APP_ID_LONG: focus.${PROXY_ID} BEAM_APP_ID_LONG: focus.${PROXY_ID_LONG}
PROXY_ID: ${PROXY_ID} PROXY_ID: ${PROXY_ID_LONG}
BLAZE_URL: http://bridgehead-bbmri-blaze:8080/fhir BLAZE_URL: http://bridgehead-bbmri-blaze:8080/fhir
BEAM_PROXY_URL: http://beam-proxy:8081 BEAM_PROXY_URL: http://beam-proxy:8081
RETRY_COUNT: ${FOCUS_RETRY_COUNT} RETRY_COUNT: ${FOCUS_RETRY_COUNT}
@ -90,7 +90,7 @@ services:
container_name: bridgehead-beam-proxy container_name: bridgehead-beam-proxy
environment: environment:
BROKER_URL: ${BROKER_URL} BROKER_URL: ${BROKER_URL}
PROXY_ID: ${PROXY_ID} PROXY_ID: ${PROXY_ID_LONG}
APP_0_ID: focus APP_0_ID: focus
APP_0_KEY: ${FOCUS_BEAM_SECRET_SHORT} APP_0_KEY: ${FOCUS_BEAM_SECRET_SHORT}
PRIVKEY_FILE: /run/secrets/proxy.pem PRIVKEY_FILE: /run/secrets/proxy.pem

View File

@ -1,6 +1,6 @@
BROKER_ID=broker.bbmri.samply.de BROKER_ID=broker.bbmri.samply.de
BROKER_URL=https://${BROKER_ID} BROKER_URL=https://${BROKER_ID}
PROXY_ID=${SITE_ID}.${BROKER_ID} PROXY_ID_LONG=${SITE_ID}.${BROKER_ID}
FOCUS_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)"
FOCUS_RETRY_COUNT=32 FOCUS_RETRY_COUNT=32
SUPPORT_EMAIL=bridgehead@helpdesk.bbmri-eric.eu SUPPORT_EMAIL=bridgehead@helpdesk.bbmri-eric.eu