Changed dnpm-configuration to allow different broker

This commit is contained in:
Tobias Kussel 2024-03-06 13:21:11 +00:00
parent 48e198fa0c
commit 36c5c1a080
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ services:
- "forward_proxy" - "forward_proxy"
volumes: volumes:
- /etc/bridgehead/trusted-ca-certs:/conf/trusted-ca-certs:ro - /etc/bridgehead/trusted-ca-certs:/conf/trusted-ca-certs:ro
- /srv/docker/bridgehead/ccp/root.crt.pem:/conf/root.crt.pem:ro - /etc/bridgehead/dnpm/aachen.crt.pem:/conf/root.crt.pem:ro
dnpm-beam-connect: dnpm-beam-connect:
depends_on: [ dnpm-beam-proxy ] depends_on: [ dnpm-beam-proxy ]

View File

@ -6,7 +6,7 @@ if [ -n "${ENABLE_DNPM}" ]; then
# Set variables required for Beam-Connect # Set variables required for Beam-Connect
DNPM_BEAM_SECRET_SHORT="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)" DNPM_BEAM_SECRET_SHORT="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
DNPM_BROKER_ID="broker.ccp-it.dktk.dkfz.de" DNPM_BROKER_ID="dnpm-aachen-broker.samply.de"
DNPM_BROKER_URL="https://${DNPM_BROKER_ID}" DNPM_BROKER_URL="https://${DNPM_BROKER_ID}"
if [ -z ${BROKER_URL_FOR_PREREQ+x} ]; then if [ -z ${BROKER_URL_FOR_PREREQ+x} ]; then
BROKER_URL_FOR_PREREQ=$DNPM_BROKER_URL BROKER_URL_FOR_PREREQ=$DNPM_BROKER_URL