bridgehead/ccp/modules/login-setup.sh

8 lines
403 B
Bash
Raw Normal View History

2023-03-22 14:41:07 +01:00
#!/bin/bash
if [ "$ENABLE_LOGIN" == true ];then
log INFO "Login setup detected -- will start Login services."
OVERRIDE+=" -f ./$PROJECT/modules/login-compose.yml"
fi
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)"