From 187c6e6412fb21ee166d5441b61560e1ce9865e0 Mon Sep 17 00:00:00 2001
From: Pierre Delpy 
Date: Fri, 10 Oct 2025 13:51:50 +0200
Subject: [PATCH] hotfix: make itcc lens 1 work again with legacy CQL
---
 itcc/docker-compose.yml       | 3 ++-
 itcc/modules/lens-compose.yml | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/itcc/docker-compose.yml b/itcc/docker-compose.yml
index 18adb6f..3caf5fe 100644
--- a/itcc/docker-compose.yml
+++ b/itcc/docker-compose.yml
@@ -22,7 +22,7 @@ services:
       - "traefik.http.routers.blaze_itcc.tls=true"
 
   focus:
-    image: docker.verbis.dkfz.de/cache/samply/focus:${FOCUS_TAG}
+    image: docker.verbis.dkfz.de/cache/samply/focus:${FOCUS_TAG}-dktk
     container_name: bridgehead-focus
     environment:
       API_KEY: ${FOCUS_BEAM_SECRET_SHORT}
@@ -34,6 +34,7 @@ services:
       EPSILON: 0.28
       QUERIES_TO_CACHE: '/queries_to_cache.conf'
       ENDPOINT_TYPE: ${FOCUS_ENDPOINT_TYPE:-blaze}
+      CQL_PROJECTS_ENABLED: ${CQL_PROJECT}
     volumes:
       - /srv/docker/bridgehead/itcc/queries_to_cache.conf:/queries_to_cache.conf:ro
     depends_on:
diff --git a/itcc/modules/lens-compose.yml b/itcc/modules/lens-compose.yml
index d9ec6e2..f3a71e6 100644
--- a/itcc/modules/lens-compose.yml
+++ b/itcc/modules/lens-compose.yml
@@ -17,6 +17,7 @@ services:
       BEAM_PROXY_ID: ${SITE_ID}
       BEAM_BROKER_ID: ${BROKER_ID}
       BEAM_APP_ID: "focus"
+      PROJECT_METADATA: ${CQL_PROJECT}
     depends_on:
       - "beam-proxy"
     labels: