From a899588f15c4aba043e418be0cfe792d2ae5bb25 Mon Sep 17 00:00:00 2001 From: Torben Brenner Date: Thu, 17 Oct 2024 14:54:47 +0200 Subject: [PATCH 01/10] feat: enable exporter and teiler module in bbmri --- bbmri/vars | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bbmri/vars b/bbmri/vars index 248fbee4..6cb745ed 100644 --- a/bbmri/vars +++ b/bbmri/vars @@ -13,6 +13,13 @@ do source $module done +log DEBUG "sourcing ccp/modules/exporter-setup.sh" +source ccp/modules/exporter-setup.sh + +log DEBUG "sourcing ccp/modules/teiler-setup.sh" +source ccp/modules/teiler-setup.sh + + SUPPORT_EMAIL=$ERIC_SUPPORT_EMAIL BROKER_URL_FOR_PREREQ="${ERIC_BROKER_URL:-$GBN_BROKER_URL}" From 5a0a804486493b7cde89da3df28d05618f460a3f Mon Sep 17 00:00:00 2001 From: Torben Brenner Date: Thu, 17 Oct 2024 15:08:50 +0200 Subject: [PATCH 02/10] fix: added variables for secret sync --- bbmri/vars | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/bbmri/vars b/bbmri/vars index 6cb745ed..6db7dc17 100644 --- a/bbmri/vars +++ b/bbmri/vars @@ -1,3 +1,20 @@ +BROKER_ID=broker-test.bbmri-test.samply.de +BROKER_URL=https://${BROKER_ID} +PROXY_ID=${SITE_ID}.${BROKER_ID} +PRIVATEKEYFILENAME=/etc/bridgehead/pki/${SITE_ID}.priv.pem + +BROKER_URL_FOR_PREREQ=$BROKER_URL + +OIDC_USER_GROUP="BBMRI_$(capitalize_first_letter ${SITE_ID})" +OIDC_ADMIN_GROUP="BBMRI_$(capitalize_first_letter ${SITE_ID})_Verwalter" +OIDC_PRIVATE_CLIENT_ID="BBMRI_${SITE_ID}-private" +OIDC_PUBLIC_CLIENT_ID="BBMRI_${SITE_ID}-public" +# Use "test-realm-01" for testing +OIDC_REALM="${OIDC_REALM:-test-realm-01}" +OIDC_URL="https://login.verbis.dkfz.de" +OIDC_ISSUER_URL="${OIDC_URL}/realms/${OIDC_REALM}" +OIDC_GROUP_CLAIM="groups" + # Makes sense for all European Biobanks : ${ENABLE_ERIC:=true} From 1d3c398370ee147655cead103dbae3409de574c5 Mon Sep 17 00:00:00 2001 From: Torben Brenner Date: Thu, 17 Oct 2024 15:15:23 +0200 Subject: [PATCH 03/10] fix: disable secret sync for now --- bridgehead | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bridgehead b/bridgehead index d5d3a20d..8fa8ab06 100755 --- a/bridgehead +++ b/bridgehead @@ -106,7 +106,8 @@ case "$ACTION" in loadVars hc_send log "Bridgehead $PROJECT startup: Checking requirements ..." checkRequirements - sync_secrets + # NOTE: for testing only, we will need to properly setup secret sync if we want to use this code + # sync_secrets hc_send log "Bridgehead $PROJECT startup: Requirements checked out. Now starting bridgehead ..." exec $COMPOSE -p $PROJECT -f ./minimal/docker-compose.yml -f ./$PROJECT/docker-compose.yml $OVERRIDE up --abort-on-container-exit ;; From 5ea782c90cdb6d19b85dde7f7210fe940e6987b6 Mon Sep 17 00:00:00 2001 From: Torben Brenner Date: Thu, 17 Oct 2024 15:23:04 +0200 Subject: [PATCH 04/10] breakmorestuff: hardcoded ccp in modules --- ccp/modules/exporter-setup.sh | 2 +- ccp/modules/teiler-setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ccp/modules/exporter-setup.sh b/ccp/modules/exporter-setup.sh index 9b947a60..93c55ad4 100644 --- a/ccp/modules/exporter-setup.sh +++ b/ccp/modules/exporter-setup.sh @@ -2,7 +2,7 @@ if [ "$ENABLE_EXPORTER" == true ]; then log INFO "Exporter setup detected -- will start Exporter service." - OVERRIDE+=" -f ./$PROJECT/modules/exporter-compose.yml" + OVERRIDE+=" -f ./ccp/modules/exporter-compose.yml" EXPORTER_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password for the exporter. It is not required to be secret.\" | sha1sum | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)" EXPORTER_API_KEY="$(echo \"This is a salt string to generate one consistent API KEY for the exporter. It is not required to be secret.\" | sha1sum | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 64)" fi diff --git a/ccp/modules/teiler-setup.sh b/ccp/modules/teiler-setup.sh index eed3f81f..dbf4efed 100644 --- a/ccp/modules/teiler-setup.sh +++ b/ccp/modules/teiler-setup.sh @@ -2,7 +2,7 @@ if [ "$ENABLE_TEILER" == true ];then log INFO "Teiler setup detected -- will start Teiler services." - OVERRIDE+=" -f ./$PROJECT/modules/teiler-compose.yml" + OVERRIDE+=" -f ./ccp/modules/teiler-compose.yml" TEILER_DEFAULT_LANGUAGE=DE TEILER_DEFAULT_LANGUAGE_LOWER_CASE=${TEILER_DEFAULT_LANGUAGE,,} add_public_oidc_redirect_url "/ccp-teiler/*" From 51743b77e74b328d2f1ca3b620d4fa600ab8e303 Mon Sep 17 00:00:00 2001 From: Torben Brenner Date: Thu, 17 Oct 2024 15:24:27 +0200 Subject: [PATCH 05/10] fix: add postgres tag version --- bbmri/vars | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bbmri/vars b/bbmri/vars index 6db7dc17..f1ada17e 100644 --- a/bbmri/vars +++ b/bbmri/vars @@ -7,7 +7,6 @@ BROKER_URL_FOR_PREREQ=$BROKER_URL OIDC_USER_GROUP="BBMRI_$(capitalize_first_letter ${SITE_ID})" OIDC_ADMIN_GROUP="BBMRI_$(capitalize_first_letter ${SITE_ID})_Verwalter" -OIDC_PRIVATE_CLIENT_ID="BBMRI_${SITE_ID}-private" OIDC_PUBLIC_CLIENT_ID="BBMRI_${SITE_ID}-public" # Use "test-realm-01" for testing OIDC_REALM="${OIDC_REALM:-test-realm-01}" @@ -15,6 +14,8 @@ OIDC_URL="https://login.verbis.dkfz.de" OIDC_ISSUER_URL="${OIDC_URL}/realms/${OIDC_REALM}" OIDC_GROUP_CLAIM="groups" +POSTGRES_TAG=15.6-alpine + # Makes sense for all European Biobanks : ${ENABLE_ERIC:=true} From 9cf653856838f7d39d4727a02ef442d846b8fa0d Mon Sep 17 00:00:00 2001 From: Torben Brenner Date: Thu, 17 Oct 2024 15:32:10 +0200 Subject: [PATCH 06/10] some more adjustments --- ccp/modules/teiler-compose.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ccp/modules/teiler-compose.yml b/ccp/modules/teiler-compose.yml index f415ee97..904572b0 100644 --- a/ccp/modules/teiler-compose.yml +++ b/ccp/modules/teiler-compose.yml @@ -64,7 +64,7 @@ services: APPLICATION_PORT: "8085" APPLICATION_ADDRESS: "${HOST}" DEFAULT_LANGUAGE: "${TEILER_DEFAULT_LANGUAGE}" - CONFIG_ENV_VAR_PATH: "/run/secrets/ccp.conf" + CONFIG_ENV_VAR_PATH: "/run/secrets/${PROJECT}.conf" TEILER_ORCHESTRATOR_HTTP_RELATIVE_PATH: "/ccp-teiler" TEILER_ORCHESTRATOR_URL: "https://${HOST}/ccp-teiler" TEILER_DASHBOARD_DE_URL: "https://${HOST}/ccp-teiler-dashboard/de" @@ -74,8 +74,8 @@ services: ENABLE_MTBA: "${ENABLE_MTBA}" ENABLE_DATASHIELD: "${ENABLE_DATASHIELD}" secrets: - - ccp.conf + - project-conf secrets: - ccp.conf: - file: /etc/bridgehead/ccp.conf + project-conf: + file: "/etc/bridgehead/${PROJECT}.conf" From 77e4cc53c62b03bd7629a16a08973c97083bc7bd Mon Sep 17 00:00:00 2001 From: Torben Brenner Date: Thu, 17 Oct 2024 15:35:01 +0200 Subject: [PATCH 07/10] fix for the fix of the fix --- ccp/modules/teiler-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccp/modules/teiler-compose.yml b/ccp/modules/teiler-compose.yml index 904572b0..f975f92e 100644 --- a/ccp/modules/teiler-compose.yml +++ b/ccp/modules/teiler-compose.yml @@ -64,7 +64,7 @@ services: APPLICATION_PORT: "8085" APPLICATION_ADDRESS: "${HOST}" DEFAULT_LANGUAGE: "${TEILER_DEFAULT_LANGUAGE}" - CONFIG_ENV_VAR_PATH: "/run/secrets/${PROJECT}.conf" + CONFIG_ENV_VAR_PATH: "/run/secrets/project-conf" TEILER_ORCHESTRATOR_HTTP_RELATIVE_PATH: "/ccp-teiler" TEILER_ORCHESTRATOR_URL: "https://${HOST}/ccp-teiler" TEILER_DASHBOARD_DE_URL: "https://${HOST}/ccp-teiler-dashboard/de" From cfa0709e178fdf33f31dabac5142c37660e3a39f Mon Sep 17 00:00:00 2001 From: djuarezgf Date: Wed, 30 Oct 2024 11:58:27 +0100 Subject: [PATCH 08/10] Added: Exporter and Teiler for BBMRI --- bbmri/vars | 1 + ccp/modules/exporter-compose.yml | 36 ++++++++++---------- ccp/modules/teiler-compose.yml | 58 ++++++++++++++++---------------- ccp/vars | 3 +- 4 files changed, 50 insertions(+), 48 deletions(-) diff --git a/bbmri/vars b/bbmri/vars index f1ada17e..5f5c73ba 100644 --- a/bbmri/vars +++ b/bbmri/vars @@ -2,6 +2,7 @@ BROKER_ID=broker-test.bbmri-test.samply.de BROKER_URL=https://${BROKER_ID} PROXY_ID=${SITE_ID}.${BROKER_ID} PRIVATEKEYFILENAME=/etc/bridgehead/pki/${SITE_ID}.priv.pem +PLATFORM=bbmri BROKER_URL_FOR_PREREQ=$BROKER_URL diff --git a/ccp/modules/exporter-compose.yml b/ccp/modules/exporter-compose.yml index d5eb2274..34f38b26 100644 --- a/ccp/modules/exporter-compose.yml +++ b/ccp/modules/exporter-compose.yml @@ -3,7 +3,7 @@ version: "3.7" services: exporter: image: docker.verbis.dkfz.de/ccp/dktk-exporter:latest - container_name: bridgehead-ccp-exporter + container_name: bridgehead-${PLATFORM}-exporter environment: JAVA_OPTS: "-Xms1G -Xmx8G -XX:+UseG1GC" LOG_LEVEL: "INFO" @@ -12,39 +12,39 @@ services: EXPORTER_DB_USER: "exporter" EXPORTER_DB_PASSWORD: "${EXPORTER_DB_PASSWORD}" # Set in exporter-setup.sh EXPORTER_DB_URL: "jdbc:postgresql://exporter-db:5432/exporter" - HTTP_RELATIVE_PATH: "/ccp-exporter" + HTTP_RELATIVE_PATH: "/${PLATFORM}-exporter" SITE: "${SITE_ID}" HTTP_SERVLET_REQUEST_SCHEME: "https" OPAL_PASSWORD: "${EXPORTER_OPAL_PASSWORD}" labels: - "traefik.enable=true" - - "traefik.http.routers.exporter_ccp.rule=PathPrefix(`/ccp-exporter`)" - - "traefik.http.services.exporter_ccp.loadbalancer.server.port=8092" - - "traefik.http.routers.exporter_ccp.tls=true" - - "traefik.http.middlewares.exporter_ccp_strip.stripprefix.prefixes=/ccp-exporter" - - "traefik.http.routers.exporter_ccp.middlewares=exporter_ccp_strip" + - "traefik.http.routers.exporter_${PLATFORM}.rule=PathPrefix(`/${PLATFORM}-exporter`)" + - "traefik.http.services.exporter_${PLATFORM}.loadbalancer.server.port=8092" + - "traefik.http.routers.exporter_${PLATFORM}.tls=true" + - "traefik.http.middlewares.exporter_${PLATFORM}_strip.stripprefix.prefixes=/${PLATFORM}-exporter" + - "traefik.http.routers.exporter_${PLATFORM}.middlewares=exporter_${PLATFORM}_strip" volumes: - - "/var/cache/bridgehead/ccp/exporter-files:/app/exporter-files/output" + - "/var/cache/bridgehead/${PLATFORM}/exporter-files:/app/exporter-files/output" exporter-db: image: docker.verbis.dkfz.de/cache/postgres:${POSTGRES_TAG} - container_name: bridgehead-ccp-exporter-db + container_name: bridgehead-${PLATFORM}-exporter-db environment: POSTGRES_USER: "exporter" POSTGRES_PASSWORD: "${EXPORTER_DB_PASSWORD}" # Set in exporter-setup.sh POSTGRES_DB: "exporter" volumes: # Consider removing this volume once we find a solution to save Lens-queries to be executed in the explorer. - - "/var/cache/bridgehead/ccp/exporter-db:/var/lib/postgresql/data" + - "/var/cache/bridgehead/${PLATFORM}/exporter-db:/var/lib/postgresql/data" reporter: image: docker.verbis.dkfz.de/ccp/dktk-reporter:latest - container_name: bridgehead-ccp-reporter + container_name: bridgehead-${PLATFORM}-reporter environment: JAVA_OPTS: "-Xms1G -Xmx8G -XX:+UseG1GC" LOG_LEVEL: "INFO" CROSS_ORIGINS: "https://${HOST}" - HTTP_RELATIVE_PATH: "/ccp-reporter" + HTTP_RELATIVE_PATH: "/${PLATFORM}-reporter" SITE: "${SITE_ID}" EXPORTER_API_KEY: "${EXPORTER_API_KEY}" # Set in exporter-setup.sh EXPORTER_URL: "http://exporter:8092" @@ -57,11 +57,11 @@ services: # There is a risk that the bridgehead restarts, losing the already created export. volumes: - - "/var/cache/bridgehead/ccp/reporter-files:/app/reports" + - "/var/cache/bridgehead/${PLATFORM}/reporter-files:/app/reports" labels: - "traefik.enable=true" - - "traefik.http.routers.reporter_ccp.rule=PathPrefix(`/ccp-reporter`)" - - "traefik.http.services.reporter_ccp.loadbalancer.server.port=8095" - - "traefik.http.routers.reporter_ccp.tls=true" - - "traefik.http.middlewares.reporter_ccp_strip.stripprefix.prefixes=/ccp-reporter" - - "traefik.http.routers.reporter_ccp.middlewares=reporter_ccp_strip" + - "traefik.http.routers.reporter_${PLATFORM}.rule=PathPrefix(`/${PLATFORM}-reporter`)" + - "traefik.http.services.reporter_${PLATFORM}.loadbalancer.server.port=8095" + - "traefik.http.routers.reporter_${PLATFORM}.tls=true" + - "traefik.http.middlewares.reporter_${PLATFORM}_strip.stripprefix.prefixes=/${PLATFORM}-reporter" + - "traefik.http.routers.reporter_${PLATFORM}.middlewares=reporter_${PLATFORM}_strip" diff --git a/ccp/modules/teiler-compose.yml b/ccp/modules/teiler-compose.yml index f975f92e..dd314348 100644 --- a/ccp/modules/teiler-compose.yml +++ b/ccp/modules/teiler-compose.yml @@ -7,30 +7,30 @@ services: container_name: bridgehead-teiler-orchestrator labels: - "traefik.enable=true" - - "traefik.http.routers.teiler_orchestrator_ccp.rule=PathPrefix(`/ccp-teiler`)" - - "traefik.http.services.teiler_orchestrator_ccp.loadbalancer.server.port=9000" - - "traefik.http.routers.teiler_orchestrator_ccp.tls=true" - - "traefik.http.middlewares.teiler_orchestrator_ccp_strip.stripprefix.prefixes=/ccp-teiler" - - "traefik.http.routers.teiler_orchestrator_ccp.middlewares=teiler_orchestrator_ccp_strip" + - "traefik.http.routers.teiler_orchestrator_${PLATFORM}.rule=PathPrefix(`/${PLATFORM}-teiler`)" + - "traefik.http.services.teiler_orchestrator_${PLATFORM}.loadbalancer.server.port=9000" + - "traefik.http.routers.teiler_orchestrator_${PLATFORM}.tls=true" + - "traefik.http.middlewares.teiler_orchestrator_${PLATFORM}_strip.stripprefix.prefixes=/${PLATFORM}-teiler" + - "traefik.http.routers.teiler_orchestrator_${PLATFORM}.middlewares=teiler_orchestrator_${PLATFORM}_strip" environment: - TEILER_BACKEND_URL: "https://${HOST}/ccp-teiler-backend" - TEILER_DASHBOARD_URL: "https://${HOST}/ccp-teiler-dashboard" + TEILER_BACKEND_URL: "https://${HOST}/${PLATFORM}-teiler-backend" + TEILER_DASHBOARD_URL: "https://${HOST}/${PLATFORM}-teiler-dashboard" DEFAULT_LANGUAGE: "${TEILER_DEFAULT_LANGUAGE_LOWER_CASE}" - HTTP_RELATIVE_PATH: "/ccp-teiler" + HTTP_RELATIVE_PATH: "/${PLATFORM}-teiler" teiler-dashboard: image: docker.verbis.dkfz.de/cache/samply/teiler-dashboard:develop container_name: bridgehead-teiler-dashboard labels: - "traefik.enable=true" - - "traefik.http.routers.teiler_dashboard_ccp.rule=PathPrefix(`/ccp-teiler-dashboard`)" - - "traefik.http.services.teiler_dashboard_ccp.loadbalancer.server.port=80" - - "traefik.http.routers.teiler_dashboard_ccp.tls=true" - - "traefik.http.middlewares.teiler_dashboard_ccp_strip.stripprefix.prefixes=/ccp-teiler-dashboard" - - "traefik.http.routers.teiler_dashboard_ccp.middlewares=teiler_dashboard_ccp_strip" + - "traefik.http.routers.teiler_dashboard_${PLATFORM}.rule=PathPrefix(`/${PLATFORM}-teiler-dashboard`)" + - "traefik.http.services.teiler_dashboard_${PLATFORM}.loadbalancer.server.port=80" + - "traefik.http.routers.teiler_dashboard_${PLATFORM}.tls=true" + - "traefik.http.middlewares.teiler_dashboard_${PLATFORM}_strip.stripprefix.prefixes=/${PLATFORM}-teiler-dashboard" + - "traefik.http.routers.teiler_dashboard_${PLATFORM}.middlewares=teiler_dashboard_${PLATFORM}_strip" environment: DEFAULT_LANGUAGE: "${TEILER_DEFAULT_LANGUAGE}" - TEILER_BACKEND_URL: "https://${HOST}/ccp-teiler-backend" + TEILER_BACKEND_URL: "https://${HOST}/${PLATFORM}-teiler-backend" OIDC_URL: "${OIDC_URL}" OIDC_REALM: "${OIDC_REALM}" OIDC_CLIENT_ID: "${OIDC_PUBLIC_CLIENT_ID}" @@ -40,35 +40,35 @@ services: TEILER_ADMIN_PHONE: "${OPERATOR_PHONE}" TEILER_PROJECT: "${PROJECT}" EXPORTER_API_KEY: "${EXPORTER_API_KEY}" - TEILER_ORCHESTRATOR_URL: "https://${HOST}/ccp-teiler" - TEILER_DASHBOARD_HTTP_RELATIVE_PATH: "/ccp-teiler-dashboard" - TEILER_ORCHESTRATOR_HTTP_RELATIVE_PATH: "/ccp-teiler" + TEILER_ORCHESTRATOR_URL: "https://${HOST}/${PLATFORM}-teiler" + TEILER_DASHBOARD_HTTP_RELATIVE_PATH: "/${PLATFORM}-teiler-dashboard" + TEILER_ORCHESTRATOR_HTTP_RELATIVE_PATH: "/${PLATFORM}-teiler" TEILER_USER: "${OIDC_USER_GROUP}" TEILER_ADMIN: "${OIDC_ADMIN_GROUP}" - REPORTER_DEFAULT_TEMPLATE_ID: "ccp-qb" - EXPORTER_DEFAULT_TEMPLATE_ID: "ccp" + REPORTER_DEFAULT_TEMPLATE_ID: "${PLATFORM}-qb" + EXPORTER_DEFAULT_TEMPLATE_ID: "${PLATFORM}" teiler-backend: - image: docker.verbis.dkfz.de/ccp/dktk-teiler-backend:latest + image: docker.verbis.dkfz.de/ccp/${PROJECT}-teiler-backend:latest container_name: bridgehead-teiler-backend labels: - "traefik.enable=true" - - "traefik.http.routers.teiler_backend_ccp.rule=PathPrefix(`/ccp-teiler-backend`)" - - "traefik.http.services.teiler_backend_ccp.loadbalancer.server.port=8085" - - "traefik.http.routers.teiler_backend_ccp.tls=true" - - "traefik.http.middlewares.teiler_backend_ccp_strip.stripprefix.prefixes=/ccp-teiler-backend" - - "traefik.http.routers.teiler_backend_ccp.middlewares=teiler_backend_ccp_strip" + - "traefik.http.routers.teiler_backend_${PLATFORM}.rule=PathPrefix(`/${PLATFORM}-teiler-backend`)" + - "traefik.http.services.teiler_backend_${PLATFORM}.loadbalancer.server.port=8085" + - "traefik.http.routers.teiler_backend_${PLATFORM}.tls=true" + - "traefik.http.middlewares.teiler_backend_${PLATFORM}_strip.stripprefix.prefixes=/${PLATFORM}-teiler-backend" + - "traefik.http.routers.teiler_backend_${PLATFORM}.middlewares=teiler_backend_${PLATFORM}_strip" environment: LOG_LEVEL: "INFO" APPLICATION_PORT: "8085" APPLICATION_ADDRESS: "${HOST}" DEFAULT_LANGUAGE: "${TEILER_DEFAULT_LANGUAGE}" CONFIG_ENV_VAR_PATH: "/run/secrets/project-conf" - TEILER_ORCHESTRATOR_HTTP_RELATIVE_PATH: "/ccp-teiler" - TEILER_ORCHESTRATOR_URL: "https://${HOST}/ccp-teiler" - TEILER_DASHBOARD_DE_URL: "https://${HOST}/ccp-teiler-dashboard/de" - TEILER_DASHBOARD_EN_URL: "https://${HOST}/ccp-teiler-dashboard/en" + TEILER_ORCHESTRATOR_HTTP_RELATIVE_PATH: "/${PLATFORM}-teiler" + TEILER_ORCHESTRATOR_URL: "https://${HOST}/${PLATFORM}-teiler" + TEILER_DASHBOARD_DE_URL: "https://${HOST}/${PLATFORM}-teiler-dashboard/de" + TEILER_DASHBOARD_EN_URL: "https://${HOST}/${PLATFORM}-teiler-dashboard/en" CENTRAX_URL: "${CENTRAXX_URL}" HTTP_PROXY: "http://forward_proxy:3128" ENABLE_MTBA: "${ENABLE_MTBA}" diff --git a/ccp/vars b/ccp/vars index 0900914b..568c5b84 100644 --- a/ccp/vars +++ b/ccp/vars @@ -5,6 +5,7 @@ FOCUS_BEAM_SECRET_SHORT="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | h FOCUS_RETRY_COUNT=${FOCUS_RETRY_COUNT:-64} SUPPORT_EMAIL=support-ccp@dkfz-heidelberg.de PRIVATEKEYFILENAME=/etc/bridgehead/pki/${SITE_ID}.priv.pem +PLATFORM=ccp BROKER_URL_FOR_PREREQ=$BROKER_URL @@ -29,4 +30,4 @@ done idManagementSetup mtbaSetup obds2fhirRestSetup -blazeSecondarySetup \ No newline at end of file +blazeSecondarySetup From 183e9c7e697f47378c1e8b9f62e725a6ce57859b Mon Sep 17 00:00:00 2001 From: djuarezgf Date: Wed, 30 Oct 2024 12:04:20 +0100 Subject: [PATCH 09/10] Test image --- ccp/modules/teiler-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ccp/modules/teiler-compose.yml b/ccp/modules/teiler-compose.yml index dd314348..b53cda50 100644 --- a/ccp/modules/teiler-compose.yml +++ b/ccp/modules/teiler-compose.yml @@ -19,7 +19,8 @@ services: HTTP_RELATIVE_PATH: "/${PLATFORM}-teiler" teiler-dashboard: - image: docker.verbis.dkfz.de/cache/samply/teiler-dashboard:develop + #image: docker.verbis.dkfz.de/cache/samply/teiler-dashboard:develop + image: samply/teiler-dashboard:feature-bbmri-look-and-feel container_name: bridgehead-teiler-dashboard labels: - "traefik.enable=true" From 63274a4aba90111785050e387a7bb2e4b89ab801 Mon Sep 17 00:00:00 2001 From: djuarezgf Date: Wed, 30 Oct 2024 13:04:43 +0100 Subject: [PATCH 10/10] Test docker image for bbmri teiler-dashboard --- ccp/modules/teiler-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccp/modules/teiler-compose.yml b/ccp/modules/teiler-compose.yml index b53cda50..22473fc0 100644 --- a/ccp/modules/teiler-compose.yml +++ b/ccp/modules/teiler-compose.yml @@ -20,7 +20,7 @@ services: teiler-dashboard: #image: docker.verbis.dkfz.de/cache/samply/teiler-dashboard:develop - image: samply/teiler-dashboard:feature-bbmri-look-and-feel + image: docker.verbis.dkfz.de/ccp/samply/teiler-dashboard:bbmri container_name: bridgehead-teiler-dashboard labels: - "traefik.enable=true"