From aa0328325b2f7fdb649f7a21550eceb04d9383ba Mon Sep 17 00:00:00 2001 From: tm16-medma <142219207+tm16-medma@users.noreply.github.com> Date: Tue, 16 Jun 2026 17:55:06 +0200 Subject: [PATCH] Modify ovis-compose.yml for auth headers and profiles Updated authentication headers and removed profiles from services. --- ccp/modules/ovis-compose.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ccp/modules/ovis-compose.yml b/ccp/modules/ovis-compose.yml index 76782cf6..f99ef16a 100644 --- a/ccp/modules/ovis-compose.yml +++ b/ccp/modules/ovis-compose.yml @@ -31,7 +31,7 @@ services: - "traefik.http.routers.ovis-traefik-forward-auth.rule=Host(`${HOST}`) && PathPrefix(`/oauth2-ovis`)" - "traefik.http.routers.ovis-traefik-forward-auth.tls=true" - "traefik.http.middlewares.traefik-forward-auth-ovis.forwardauth.address=http://ovis-traefik-forward-auth:4180" - - "traefik.http.middlewares.traefik-forward-auth-ovis.forwardauth.authResponseHeaders=Authorization" + - "traefik.http.middlewares.traefik-forward-auth-ovis.forwardauth.authResponseHeaders=Authorization,X-Auth-Request-Email,X-Auth-Request-User,X-Auth-Request-Preferred-Username" depends_on: forward_proxy: condition: service_healthy @@ -55,8 +55,6 @@ services: timeout: 5s retries: 6 start_period: 5s - profiles: - - ovisreimport ovis-backend-data-import: image: samply/ovis-backend-data-import:${OVIS_IMAGE_TAG:-main} @@ -66,14 +64,14 @@ services: condition: service_healthy environment: FHIR_SERVER_URL: http://bridgehead-ccp-blaze:8080/fhir - profiles: - - ovisreimport ovis-backend-apollo: image: samply/ovis-backend-apollo:${OVIS_IMAGE_TAG:-main} container_name: bridgehead-ccp-ovis-backend environment: ADDRESS: mongodb://ovis-backend-database-mongodb:27017 + OVIS_SUPERADMIN_EMAILS: ${OVIS_SUPERADMIN_EMAILS:-} + OVIS_AUTO_CREATE_USERS: ${OVIS_AUTO_CREATE_USERS:-false} depends_on: - ovis-backend-database-mongodb - ovis-backend-mongodb-data-preprocessing