mirror of https://github.com/samply/bridgehead.git
Change salt string for exporter and login
This commit is contained in:
parent
3dcf83e4e8
commit
fdd26083b6
|
@ -5,4 +5,4 @@ if [ -n "$ENABLE_EXPORTER" ];then
|
||||||
OVERRIDE+=" -f ./$PROJECT/modules/exporter-compose.yml"
|
OVERRIDE+=" -f ./$PROJECT/modules/exporter-compose.yml"
|
||||||
fi
|
fi
|
||||||
# TODO: Generate password in another way so that not all passwords are the same?
|
# 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)"
|
EXPORTER_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password for the exporter. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
|
||||||
|
|
|
@ -4,4 +4,4 @@ if [ "$ENABLE_LOGIN" == true ];then
|
||||||
log INFO "Login setup detected -- will start Login services."
|
log INFO "Login setup detected -- will start Login services."
|
||||||
OVERRIDE+=" -f ./$PROJECT/modules/login-compose.yml"
|
OVERRIDE+=" -f ./$PROJECT/modules/login-compose.yml"
|
||||||
fi
|
fi
|
||||||
KEYCLOAK_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)"
|
KEYCLOAK_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password for Keycloak. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
|
||||||
|
|
Loading…
Reference in New Issue