bridgehead/ccp/modules/cbioportal-setup.sh

11 lines
733 B
Bash
Raw Normal View History

2023-11-29 10:29:30 +01:00
#!/bin/bash -e
ENABLE_CBIOPORTAL=true
if [ "$ENABLE_CBIOPORTAL" == true ]; then
2023-11-29 10:29:30 +01:00
log INFO "cBioPortal setup detected -- will start cBioPortal service."
OVERRIDE+=" -f ./$PROJECT/modules/cbioportal-compose.yml"
CBIOPORTAL_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password for the cbioportal database. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
2023-12-15 12:30:14 +01:00
CBIOPORTAL_DB_ROOT_PASSWORD="$(echo \"This is a salt string to generate one consistent root password for the cbioportal database. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 64)"
fi