bridgehead/ccp/modules/fhir2sql-setup.sh

8 lines
469 B
Bash
Raw Normal View History

2024-07-01 14:54:04 +02:00
#!/bin/bash -e
2024-07-30 09:24:07 +02:00
if [ "$ENABLE_FHIR2SQL" == true ]; then
2024-07-01 14:54:04 +02:00
log INFO "Dashboard setup detected -- will start Dashboard backend and FHIR2SQL service."
2024-07-30 09:44:47 +02:00
OVERRIDE+=" -f ./$PROJECT/modules/fhir2sql-compose.yml"
2024-07-01 14:54:04 +02:00
DASHBOARD_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password for the Dashboard database. It is not required to be secret.\" | sha1sum | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
fi