mirror of
https://github.com/samply/bridgehead.git
synced 2026-08-14 19:50:42 +02:00
Add Ovis to the CCP modules in the bridgehead (#375)
This is a squash of 62 commits integrating ovis into the Bridgehead; authors see below. --------- Co-authored-by: janskiba <jan.skiba@dkfz-heidelberg.de> Co-authored-by: Torben Brenner <76154651+torbrenner@users.noreply.github.com> Co-authored-by: Tobias Kussel <tobias.kussel@dkfz-heidelberg.de> Co-authored-by: Torben Brenner <t.brenner@dkfz-heidelberg.de> Co-authored-by: Martin Lablans <m.lablans@dkfz-heidelberg.de>
This commit is contained in:
co-authored by
janskiba
Torben Brenner
Tobias Kussel
Torben Brenner
Martin Lablans
parent
65f8edcef7
commit
1b4a290216
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
if [ "$ENABLE_OVIS" == true ]; then
|
||||
log INFO "OVIS setup detected -- will start OVIS services with local oauth2-proxy middleware."
|
||||
OVERRIDE+=" -f ./$PROJECT/modules/ovis-compose.yml"
|
||||
add_private_oidc_redirect_url "/oauth2-ovis/callback"
|
||||
add_private_oidc_redirect_url "/ccp-ovis*"
|
||||
OVIS_AUTH_COOKIE_SECRET="$(generate_simple_password 'ovisCookieSecret' | head -c 16)"
|
||||
if [ -z "$OVIS_SUPERADMIN_EMAILS" ]; then
|
||||
log WARN "OVIS is enabled but OVIS_SUPERADMIN_EMAILS is not set -- nobody will be able to administrate OVIS."
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user