2023-08-07 13:00:37 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ "${ENABLE_GBN}" == "true" ]; then
|
|
|
|
log INFO "GBN setup detected -- will start services for German Biobank Node."
|
|
|
|
OVERRIDE+=" -f ./$PROJECT/modules/gbn-compose.yml"
|
|
|
|
|
|
|
|
# Set required variables
|
2023-09-04 15:30:03 +02:00
|
|
|
GBN_BROKER_ID=broker.bbmri.de
|
2023-08-07 13:00:37 +02:00
|
|
|
GBN_BROKER_URL=https://${GBN_BROKER_ID}
|
|
|
|
GBN_PROXY_ID=${SITE_ID}.${GBN_BROKER_ID}
|
|
|
|
GBN_FOCUS_BEAM_SECRET_SHORT="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
|
2023-09-04 15:54:22 +02:00
|
|
|
GBN_SUPPORT_EMAIL=feedback@germanbiobanknode.de
|
2023-09-07 08:16:47 +02:00
|
|
|
|
|
|
|
#Monitoring
|
|
|
|
GBN_MONITORING_BEAM_SECRET_SHORT="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
|
2023-08-07 13:00:37 +02:00
|
|
|
fi
|