2023-09-04 16:43:40 +02:00
|
|
|
#!/bin/bash -e
|
2023-08-17 18:10:12 +02:00
|
|
|
|
|
|
|
if [ "$ENABLE_TEILER" == true ];then
|
|
|
|
log INFO "Teiler setup detected -- will start Teiler services."
|
|
|
|
OVERRIDE+=" -f ./$PROJECT/modules/teiler-compose.yml"
|
2023-11-20 12:34:18 +01:00
|
|
|
redirect_urls="https://${HOST}/ccp-teiler/*"
|
|
|
|
host_without_proxy="$(echo "$HOST" | cut -d '.' -f1)"
|
|
|
|
if [[ "$HOST" != "$host_without_proxy" ]]; then
|
|
|
|
redirect_urls+=",https://$host_without_proxy/ccp-teiler/*"
|
|
|
|
fi
|
|
|
|
generate_public_oidc_client "OIDC_PUBLIC" "$redirect_urls"
|
2023-08-17 18:10:12 +02:00
|
|
|
fi
|