mirror of https://github.com/samply/bridgehead.git
Fix fhir2sql db pw generation (#219)
fix postgresql password generation so that the password does not contain problematic characters that mess with the connection string
This commit is contained in:
parent
3fe781255b
commit
ed8dacaa59
|
@ -3,5 +3,5 @@
|
||||||
if [ "$ENABLE_FHIR2SQL" == true ]; then
|
if [ "$ENABLE_FHIR2SQL" == true ]; then
|
||||||
log INFO "Dashboard setup detected -- will start Dashboard backend and FHIR2SQL service."
|
log INFO "Dashboard setup detected -- will start Dashboard backend and FHIR2SQL service."
|
||||||
OVERRIDE+=" -f ./$PROJECT/modules/fhir2sql-compose.yml"
|
OVERRIDE+=" -f ./$PROJECT/modules/fhir2sql-compose.yml"
|
||||||
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)"
|
DASHBOARD_DB_PASSWORD="$(generate_simple_password 'fhir2sql')"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue