Add DataSHIELD

This commit is contained in:
juarez
2023-04-12 09:46:35 +02:00
parent 2c4c44fbca
commit 1904256e6e
3 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/bash
if [ "$ENABLE_DATASHIELD" == true ];then
log INFO "DataSHIELD setup detected -- will start DataSHIELD services."
OVERRIDE+=" -f ./$PROJECT/modules/datashield-compose.yml"
fi
OPAL_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password for Opal. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"