2023-06-13 08:16:00 +02:00
BROKER_ID=broker.ccp-it.dktk.dkfz.de
2022-09-30 16:05:36 +02:00
BROKER_URL=https://${BROKER_ID}
PROXY_ID=${SITE_ID}.${BROKER_ID}
2023-06-16 16:28:22 +02:00
FOCUS_BEAM_SECRET_SHORT="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
FOCUS_RETRY_COUNT=32
2022-10-17 14:38:34 +02:00
SUPPORT_EMAIL=support-ccp@dkfz-heidelberg.de
PRIVATEKEYFILENAME=/etc/bridgehead/pki/${SITE_ID}.priv.pem
2022-10-26 11:50:21 +02:00
2023-08-07 13:00:37 +02:00
BROKER_URL_FOR_PREREQ=$BROKER_URL
2023-08-09 17:13:33 +02:00
DEFAULT_LANGUAGE=DE
DEFAULT_LANGUAGE_LOWER_CASE=${DEFAULT_LANGUAGE,,}
2023-08-09 18:15:30 +02:00
ENABLE_EXPORTER=true
2023-11-17 10:27:12 +01:00
ENABLE_LOGIN=true
2023-08-09 18:15:30 +02:00
ENABLE_TEILER=true
2023-08-11 15:08:08 +02:00
#ENABLE_DATASHIELD=true
2023-08-07 13:00:37 +02:00
2023-11-17 10:27:12 +01:00
KEYCLOAK_USER_GROUP="DKTK_CCP_$(capitalize_first_letter ${SITE_ID})"
KEYCLOAK_ADMIN_GROUP="DKTK_CCP_$(capitalize_first_letter ${SITE_ID})_Verwalter"
2023-11-24 08:52:54 +01:00
KEYCLOAK_PRIVATE_CLIENT_ID=${SITE_ID}-private
KEYCLOAK_PUBLIC_CLIENT_ID=${SITE_ID}-public
2024-02-13 18:49:06 +01:00
# Use "test-realm-01" for testing
KEYCLOAK_REALM="${KEYCLOAK_REALM:-master}"
2023-11-24 08:52:54 +01:00
KEYCLOAK_URL="https://login.verbis.dkfz.de"
2023-11-29 09:29:18 +01:00
KEYCLOAK_ISSUER_URL="${KEYCLOAK_URL}/realms/${KEYCLOAK_REALM}"
KEYCLOAK_GROUP_CLAIM="groups"
2023-11-30 17:39:01 +01:00
OAUTH2_CALLBACK=/oauth2/callback
2023-12-01 09:16:29 +01:00
OAUTH2_PROXY_SECRET="$(echo \"This is a salt string to generate one consistent encryption key for the oauth2_proxy. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 32)"
2023-11-30 17:39:01 +01:00
add_private_oidc_redirect_url "${OAUTH2_CALLBACK}"
2024-02-09 17:14:45 +01:00
POSTGRES_TAG=15.6-alpine
2023-04-04 13:02:49 +02:00
2023-05-10 12:54:05 +02:00
for module in $PROJECT/modules/*.sh
do
2023-05-19 13:53:03 +02:00
log DEBUG "sourcing $module"
2023-05-10 12:54:05 +02:00
source $module
done
2023-08-16 09:35:36 +02:00
idManagementSetup
2023-10-11 08:09:49 +02:00
mtbaSetup
2023-02-10 12:41:26 +01:00
adt2fhirRestSetup