Skip to content

Add Ovis to the CCP modules in the bridgehead - #375

Merged
lablans merged 62 commits into
developfrom
ovis
Aug 13, 2026
Merged

Add Ovis to the CCP modules in the bridgehead#375
lablans merged 62 commits into
developfrom
ovis

Conversation

@tm16-medma

Copy link
Copy Markdown
Contributor

No description provided.

Threated and others added 13 commits February 12, 2025 10:45
Please ignore the command in mongo :) It will be replaced soon with proper user authentication
…on to sh

- Removed the traefik service and renamed traefik-forward-auth to ovis- with ovis-traefik-forward-auth the labels, however would need help there as i got no knowledge of how OAuth2 works (Torben initialized that container)
- Updated MongoDB service configuration to include a direct initialization script for user and operation collections in the sh instead of in the compose directly
- Adjusted volume paths to only use the /var/cache/bridgehead/ccp directory
- Adjusted frontend and backend service labels for Traefik routing to not use ports
- Cleaned up unnecessary network definitions and volumes.
- Renamed FHIR Server URL to bridgehead-ccp-blaze:8080/fhir
- Removed redundant entrypoint (python main.py) of fhir transformer
- Replaced GUI_HOST with HOST
- Removed NODE_ENV
- Combine init_onco and backend service
- removed node_modules and .svelte-kit volumes
- removed mongodb volumes
- adjusted http_proxy and https_proxy
- adjusted path prefix from oaut2 to oauth2-ovis
- removed network-mode "host" in fhir-transformer service
@tm16-medma
tm16-medma requested a review from a team as a code owner March 19, 2026 13:44
Comment thread ccp/modules/ovis-compose.yml Outdated
Comment thread ccp/modules/ovis-compose.yml Outdated
Comment thread ccp/modules/ovis-compose.yml Outdated
Comment thread ccp/modules/ovis-compose.yml Outdated
Comment thread ccp/modules/ovis-compose.yml Outdated
Comment thread ccp/modules/ovis-compose.yml Outdated
Comment thread ccp/modules/ovis-compose.yml Outdated
Comment thread ccp/modules/ovis-setup.sh Outdated
Comment thread ccp/modules/ovis-setup.sh Outdated
Comment thread ccp/vars Outdated
Comment thread ccp/modules/ovis-compose.yml Outdated
@tm16-medma

Copy link
Copy Markdown
Contributor Author

Thanks for the comments and your time, we will adjust most of them, others need changes in the application itself for that to work, which takes a bit longer.

Comment thread ccp/modules/ovis-compose.yml
tm16-medma added a commit that referenced this pull request Mar 23, 2026
…tracts

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`
tm16-medma and others added 6 commits March 26, 2026 17:03
…ose 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.
…ompose.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.
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.
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.
Comment thread ccp/modules/ovis-compose.yml
tm16-medma added a commit that referenced this pull request Jul 14, 2026
…tracts

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`
Comment thread bridgehead Outdated
;;
postRun | postUpdate)
;;
### ovisreimport is untested, just writing down the idea to test it later

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this commented out? Either delete it or fix it

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the commented ovisreimport block from bridgehead

Comment thread ccp/modules/ovis-compose.yml
Sites without direct Docker Hub access cannot reach samply/*, and the tag now differs per environment like the other modules.
test -d on a node_modules directory was true even with Apollo dead, so the frontend's service_healthy condition gated on nothing.
@lablans
lablans merged commit 1b4a290 into develop Aug 13, 2026
@lablans
lablans deleted the ovis branch August 13, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants