mirror of
https://github.com/samply/bridgehead.git
synced 2025-06-16 21:50:14 +02:00
Rename teiler to exporter
This commit is contained in:
10
ccp/modules/exporter-setup.sh
Normal file
10
ccp/modules/exporter-setup.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
function exporterSetup() {
|
||||
if [ -n "$ENABLE_EXPORTER" ];then
|
||||
log INFO "Exporter setup detected -- will start Exporter service."
|
||||
OVERRIDE+=" -f ./$PROJECT/modules/exporter-compose.yml"
|
||||
fi
|
||||
# TODO: Generate password in another way so that not all passwords are the same?
|
||||
EXPORTER_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
|
||||
}
|
Reference in New Issue
Block a user