bridgehead/ccp/modules/mtba-setup.sh

14 lines
414 B
Bash
Raw Normal View History

2022-10-26 11:50:21 +02:00
#!/bin/bash
2022-12-02 15:38:33 +01:00
function mtbaSetup() {
# TODO: Check if ID-Management Module is activated!
if [ -n "$ENABLE_MTBA" ];then
log INFO "MTBA setup detected -- will start MTBA Service and CBioPortal."
2022-12-16 15:01:04 +01:00
if [ ! -n "$IDMANAGER_UPLOAD_APIKEY" ]; then
2022-12-02 15:38:33 +01:00
log ERROR "Detected MTBA Module configuration but ID-Management Module seems not to be configured!"
exit 1;
fi
OVERRIDE+=" -f ./$PROJECT/mtba-compose.yml"
fi
}