From c504cddff0bcdf4ab1644bd75153c9368db5be57 Mon Sep 17 00:00:00 2001 From: tm16-medma Date: Mon, 30 Mar 2026 16:05:44 +0200 Subject: [PATCH] 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. --- ccp/modules/ovis-compose.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ccp/modules/ovis-compose.yml b/ccp/modules/ovis-compose.yml index 2c21a79b..d8c27e29 100644 --- a/ccp/modules/ovis-compose.yml +++ b/ccp/modules/ovis-compose.yml @@ -80,6 +80,8 @@ services: interval: 10s timeout: 5s retries: 5 + # Internal only - no direct Traefik exposure. GraphQL is accessed via frontend internal proxy. + ovis-frontend: image: docker.verbis.dkfz.de/ovis/ovis-frontend:latest container_name: bridgehead-ccp-ovis-frontend @@ -87,7 +89,7 @@ services: OVIS_PUBLIC_BASE_PATH: /ccp-ovis PUBLIC_LOGIN_ENABLED: "false" PUBLIC_OVIS_IMPORT: ccp - APP_DOMAIN: ${HOST} + ORIGIN: https://${HOST} depends_on: ovis-backend-apollo: condition: service_healthy @@ -98,6 +100,5 @@ services: - "traefik.http.middlewares.ovis-frontend-ccp-slash-redirect.redirectregex.permanent=true" - "traefik.http.routers.ovis-frontend-ccp.tls=true" - "traefik.http.routers.ovis-frontend-ccp.rule=PathPrefix(`/ccp-ovis`)" - - "traefik.http.middlewares.ovis-frontend-ccp-strip.stripprefix.prefixes=/ccp-ovis" - - "traefik.http.routers.ovis-frontend-ccp.middlewares=traefik-forward-auth-ovis,ovis-frontend-ccp-slash-redirect,ovis-frontend-ccp-strip" + - "traefik.http.routers.ovis-frontend-ccp.middlewares=traefik-forward-auth-ovis,ovis-frontend-ccp-slash-redirect" - "traefik.http.services.ovis-frontend-ccp.loadbalancer.server.port=5173"