Commit Graph
25 Commits
Author SHA1 Message Date
tm16-medma ff754f0bf1 refactor(ovis): remove redundant runtime assets 2026-07-16 11:39:56 +02:00
tm16-medma 61df1b6749 refactor(ovis): align image runtime contracts
Remove deployment inputs that cannot affect the published frontend or current backend, and keep the bundled MongoDB and Basic Auth contracts consistent.
2026-07-14 15:36:31 +02:00
tm16-medma 7ee61b163d Deactivate bridgehead landing page by default 2026-07-14 15:36:31 +02:00
tm16-medma 42a320bc54 Remove OVIS nginx proxy settings 2026-07-14 15:36:31 +02:00
tm16-medma ae41868787 Simplify OVIS compose defaults 2026-07-14 15:36:31 +02:00
tm16-medma 3cc37cb0ae Fix OVIS Traefik routing priorities 2026-07-14 15:36:31 +02:00
tm16-medma cb276b9bf3 Fix general OVIS bridgehead runtime 2026-07-14 15:36:31 +02:00
tm16-medma d42ab1275c Add general OVIS bridgehead project 2026-07-14 15:36:31 +02:00
tm16-medma 098c501ad3 Update OVIS frontend configuration in ovis-compose.yml
Replaced the APP_DOMAIN variable with ORIGIN for improved clarity in the OVIS frontend service configuration. Additionally, removed the stripprefix middleware from the Traefik router setup to streamline routing and enhance service management.
2026-07-14 15:36:31 +02:00
tm16-medma ad91011872 Add APP_DOMAIN environment variable to OVIS services in ovis-compose.yml
Introduced the APP_DOMAIN variable to the OVIS service configuration, allowing for dynamic domain assignment based on the HOST environment variable. This enhancement improves flexibility in service deployment.
2026-07-14 15:36:31 +02:00
tm16-medma 992d92c65b Refactor Traefik middleware configuration for OVIS services in ovis-compose.yml
Removed outdated labels for the ovis-backend service and updated the middleware configuration for the ovis-frontend-ccp service to ensure proper routing and authentication. This streamlines the service setup and enhances clarity in the configuration.
2026-07-14 15:36:31 +02:00
tm16-medma 2d1f9747a0 Remove unused CA certificate handling from OVIS setup script and compose file
Eliminated the environment variables and volume mounts related to trusted CA certificates in both the ovis-compose.yml and ovis-setup.sh files. This streamlines the configuration by relying solely on the system trust store for OIDC provider communication, simplifying the initialization process for the OVIS module.
2026-07-14 15:36:31 +02:00
tm16-medma 16228aaac8 Refine OVIS CA file handling and logging in setup script
Updated the ovis-setup.sh script to support both .crt and .pem certificate files for OIDC providers. Enhanced validation of CA candidates with improved logging to indicate skipped non-certificate files and clarified messages regarding the presence of valid CA files. This ensures better feedback during the OVIS module initialization process.
2026-07-14 15:36:31 +02:00
tm16-medma 301c452128 Add detailed logging for OVIS module initialization in setup script
Enhanced the ovis-setup.sh script to include a comprehensive log message when the OVIS module is enabled. This update provides clear visual feedback during the initialization process, indicating that OVIS services will start with local oauth2-proxy middleware.
2026-07-14 15:36:31 +02:00
tm16-medma adb50adda7 Enhance OVIS setup script to handle missing CA directory and refine logging
Updated the ovis-setup.sh script to improve handling of the trusted CA directory, ensuring that the oauth2-proxy uses the system trust store if the directory is missing. Adjusted logging messages for clarity regarding the detection of custom OIDC CA files, specifically focusing on .crt files. Additionally, added a new environment variable for TLS_CA_CERTIFICATES_DIR in the ovis-compose.yml file to support trusted CA certificates.
2026-07-14 15:36:31 +02:00
tm16-medma 356335be67 Add custom CA file support for OVIS oauth2-proxy in setup script and compose file
Enhanced the OVIS setup by introducing support for custom OIDC CA files in the oauth2-proxy configuration. Updated the ovis-compose.yml to include new environment variables and volume mounts for trusted CA certificates. Modified the ovis-setup.sh script to detect and log the presence of custom CA files, ensuring secure communication with OIDC providers.
2026-07-14 15:36:31 +02:00
tm16-medma 6b29be5600 Update OVIS frontend image reference in ovis-compose.yml
Changed the image reference for the ovis-frontend service to use the updated `ovis-frontend` tag, ensuring consistency with the latest deployment standards.
2026-07-14 15:36:31 +02:00
tm16-medma 67eeeb70c8 Update Traefik service configuration for OVIS frontend in ovis-compose.yml
Changed the service name for the OVIS frontend load balancer from `ovis-frontend` to `ovis-frontend-ccp`, ensuring consistency with the updated routing setup.
2026-07-14 15:36:31 +02:00
tm16-medma ba2d4784f0 Comment out middleware configuration for OVIS frontend in ovis-compose.yml. This change temporarily disables the integration of the slash-redirect and prefix-strip middlewares for the ovis-frontend-ccp router, allowing for further testing and adjustments. 2026-07-14 15:36:31 +02:00
tm16-medma 7b3cea5595 Update Traefik middleware configuration for OVIS frontend in ovis-compose.yml
Replaced the existing middleware for path prefix stripping with a new middleware, ensuring proper handling of the `/ccp-ovis` path. This change enhances the routing setup by integrating both the slash-redirect and prefix-strip middlewares for improved service accessibility.
2026-07-14 15:36:31 +02:00
tm16-medma 6ad16e7dca Add environment variables for OVIS frontend in ovis-compose.yml
Configured new environment variables for the ovis-frontend service, including OVIS_PUBLIC_BASE_PATH, PUBLIC_GRAPHQL_URL, PUBLIC_LOGIN_ENABLED, and PUBLIC_OVIS_IMPORT, to enhance service configuration and accessibility.
2026-07-14 15:36:31 +02:00
tm16-medma 3a15fb69af Add oauth2-proxy middleware for OVIS services in ovis-compose.yml
Introduced a new service, `ovis-traefik-forward-auth`, to handle authentication via oauth2-proxy. Updated Traefik routing for existing services to integrate the new middleware, ensuring secure access control. Adjusted logging in ovis-setup.sh to reflect the addition of the oauth2-proxy middleware in the OVIS setup process.
2026-07-14 15:36:31 +02:00
tm16-medma ef551cfc49 Update OVIS frontend image reference in ovis-compose.yml
Changed the image for the ovis-frontend service to use the new `ovis-frontend-ccp` tag, reflecting the latest version. Removed unnecessary environment variables to streamline the configuration.
2026-07-14 15:36:31 +02:00
tm16-medma 12ceb1d73d refactor: simplify OVIS frontend Traefik routing to single CCP router
Collapse the `/ccp-ovis` slash-redirect and prefix-strip flow into one `ovis-frontend-ccp` router by attaching both middlewares in order (redirect, then strip). This removes redundant router labels while preserving canonical `/ccp-ovis -> /ccp-ovis/` behavior and mounted-path forwarding to the frontend service.
2026-07-14 15:36:31 +02:00
tm16-medma 2264f90478 refactor: align Bridgehead OVIS CCP overlay with upstream runtime contracts
Apply the PR #375 review feedback by removing Bridgehead-specific compose/setup overrides
that duplicated upstream OVIS behavior and by switching to the upstream-built Mongo image
that already contains init logic.
- rename CCP OVIS services to consistent upstream-style names (`ovis-*`) and update internal dependencies
- switch Mongo service image from direct `mongo:latest` + host-mounted init script to `docker.verbis.dkfz.de/ovis/ovis-backend-mongodb:latest`
- remove obsolete Mongo init bind mount (`/docker-entrypoint-initdb.d/init.js`) from compose
- drop redundant runtime overrides from compose (`restart`, `command`, `user`, `working_dir`)
- remove duplicated app-default/preprocessor env overrides (`OVIS_PREPROC_*`, misc backend defaults) and keep deployment wiring only
- fix Mongo connection env usage to `ADDRESS` and point services to `ovis-backend-database-mongodb`
- remove temporary root-compat Traefik redirect shim and keep mounted `/ccp-ovis` routing labels
- remove setup-time generation of Mongo init.js and related cache directory prep from `ccp/modules/ovis-setup.sh`
2026-07-14 15:36:31 +02:00