From 39a4231c1f7dd12db2b5304466e3fbb5c43e329b Mon Sep 17 00:00:00 2001 From: Manoj Waikar Date: Fri, 21 Mar 2025 15:15:03 +0100 Subject: [PATCH] Add airgapped-blaze-{compose,setup} files in cce modules. - for testing out airgapped-blaze at VHIO --- cce/modules/airgapped-blaze-compose.yml | 25 +++++++++++++++++++++++++ cce/modules/airgapped-blaze-setup.sh | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 cce/modules/airgapped-blaze-compose.yml create mode 100644 cce/modules/airgapped-blaze-setup.sh diff --git a/cce/modules/airgapped-blaze-compose.yml b/cce/modules/airgapped-blaze-compose.yml new file mode 100644 index 0000000..ad6bf1c --- /dev/null +++ b/cce/modules/airgapped-blaze-compose.yml @@ -0,0 +1,25 @@ +version: "3.7" + +services: + blaze-airgapped: + image: docker.verbis.dkfz.de/cache/samply/blaze:${BLAZE_TAG} + container_name: bridgehead-cce-blaze + environment: + BASE_URL: "http://bridgehead-cce-blaze:8080" + JAVA_TOOL_OPTIONS: "-Xmx${BLAZE_MEMORY_CAP:-4096}m" + DB_RESOURCE_CACHE_SIZE: ${BLAZE_RESOURCE_CACHE_CAP:-2500000} + DB_BLOCK_CACHE_SIZE: ${BLAZE_MEMORY_CAP} + CQL_EXPR_CACHE_SIZE: ${BLAZE_CQL_CACHE_CAP:-32} + ENFORCE_REFERENTIAL_INTEGRITY: "false" + volumes: + - "blaze-data-airgapped:/app/data" + labels: + - "traefik.enable=true" + - "traefik.http.routers.blaze_cce.rule=PathPrefix(`/cce-localdatamanagement-airgapped`)" + - "traefik.http.middlewares.cce_b_strip.stripprefix.prefixes=/cce-localdatamanagement-airgapped" + - "traefik.http.services.blaze_cce.loadbalancer.server.port=8080" + - "traefik.http.routers.blaze_cce.middlewares=cce_b_strip,auth" + - "traefik.http.routers.blaze_cce.tls=true" + +volumes: + blaze-data-airgapped: diff --git a/cce/modules/airgapped-blaze-setup.sh b/cce/modules/airgapped-blaze-setup.sh new file mode 100644 index 0000000..ff97496 --- /dev/null +++ b/cce/modules/airgapped-blaze-setup.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +OVERRIDE+=" -f ./$PROJECT/modules/airgapped-blaze-compose.yml" \ No newline at end of file