From dadb91400cf346d3ea5538fbca04f0533dba5943 Mon Sep 17 00:00:00 2001 From: Pierre Delpy Date: Mon, 22 Sep 2025 08:14:38 +0200 Subject: [PATCH] fix spot and use proper lens --- pscc/modules/lens-compose.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pscc/modules/lens-compose.yml b/pscc/modules/lens-compose.yml index 5e31dbd..e25e2e9 100644 --- a/pscc/modules/lens-compose.yml +++ b/pscc/modules/lens-compose.yml @@ -2,7 +2,7 @@ version: "3.7" services: landing: container_name: lens_federated-search - image: docker.verbis.dkfz.de/dashboard/pscc-explorer + image: docker.verbis.dkfz.de/ccp/lens:${SITE_ID} labels: - "traefik.enable=true" - "traefik.http.routers.landing.rule=PathPrefix(`/`)" @@ -19,9 +19,8 @@ services: BEAM_SECRET: "${FOCUS_BEAM_SECRET_SHORT}" BEAM_PROXY_URL: http://beam-proxy:8081 BEAM_APP_ID: "spot.${SITE_ID}.${BROKER_ID}" - #CORS_ORIGIN: "https://${GUI_HOST}" - CORS_ORIGIN: "https://127.0.0.1" - SITES: "pscc-dkfz" + CORS_ORIGIN: "https://${HOST}" + SITES: "${SITE_ID}" TRANSFORM: LENS BIND_ADDR: 0.0.0.0:8055 RUST_LOG: "debug" @@ -34,8 +33,7 @@ services: - "traefik.enable=true" - "traefik.http.services.spot.loadbalancer.server.port=8055" - "traefik.http.middlewares.corsheaders2.headers.accesscontrolallowmethods=GET,OPTIONS,POST" - #- "traefik.http.middlewares.corsheaders2.headers.accesscontrolalloworiginlist=https://${HOST}" - - "traefik.http.middlewares.corsheaders2.headers.accesscontrolalloworiginlist=http://localhost:3000" + - "traefik.http.middlewares.corsheaders2.headers.accesscontrolalloworiginlist=https://${HOST}" - "traefik.http.middlewares.corsheaders2.headers.accesscontrolallowcredentials=true" - "traefik.http.middlewares.corsheaders2.headers.accesscontrolmaxage=-1" - "traefik.http.routers.spot.rule=Host(`${HOST}`) && PathPrefix(`/backend`)"