mirror of https://github.com/samply/bridgehead.git
13 lines
519 B
Bash
13 lines
519 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
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."
|
||
|
if [ ! -n "$IDMANAGER_UPLOAD_APIKEY" ]; then
|
||
|
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
|
||
|
}
|