2023-05-10 12:54:05 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ -n "${ENABLE_DNPM}" ]; then
|
2023-08-07 13:00:37 +02:00
|
|
|
log INFO "DNPM setup detected (Beam.Connect) -- will start Beam and Beam.Connect for DNPM."
|
2023-05-17 11:26:55 +02:00
|
|
|
OVERRIDE+=" -f ./$PROJECT/modules/dnpm-compose.yml"
|
2023-05-10 12:54:05 +02:00
|
|
|
|
|
|
|
# Set variables required for Beam-Connect
|
|
|
|
DNPM_BEAM_SECRET_SHORT="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
|
2023-05-25 13:20:18 +02:00
|
|
|
DNPM_BROKER_ID="broker.ccp-it.dktk.dkfz.de"
|
2023-05-15 13:43:01 +02:00
|
|
|
DNPM_BROKER_URL="https://${DNPM_BROKER_ID}"
|
|
|
|
DNPM_PROXY_ID="${SITE_ID}.${DNPM_BROKER_ID}"
|
2023-05-10 12:54:05 +02:00
|
|
|
fi
|