2022-05-02 16:19:17 +02:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
blaze:
|
2023-05-16 11:57:27 +02:00
|
|
|
image: docker.verbis.dkfz.de/cache/samply/blaze:latest
|
2022-05-02 16:19:17 +02:00
|
|
|
container_name: bridgehead-ccp-blaze
|
|
|
|
environment:
|
2022-09-07 11:09:53 +02:00
|
|
|
BASE_URL: "http://bridgehead-ccp-blaze:8080"
|
2024-03-05 10:34:00 +01:00
|
|
|
JAVA_TOOL_OPTIONS: "-Xmx${BLAZE_MEMORY_CAP:-4096}m"
|
2024-03-08 13:33:30 +01:00
|
|
|
DB_RESOURCE_CACHE_SIZE: ${BLAZE_RESOURCE_CACHE_CAP:-2500000}
|
2024-02-20 15:15:49 +01:00
|
|
|
DB_BLOCK_CACHE_SIZE: $BLAZE_MEMORY_CAP
|
2022-05-02 16:19:17 +02:00
|
|
|
ENFORCE_REFERENTIAL_INTEGRITY: "false"
|
|
|
|
volumes:
|
2022-10-11 18:29:08 +02:00
|
|
|
- "blaze-data:/app/data"
|
2022-05-02 16:19:17 +02:00
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.blaze_ccp.rule=PathPrefix(`/ccp-localdatamanagement`)"
|
|
|
|
- "traefik.http.middlewares.ccp_b_strip.stripprefix.prefixes=/ccp-localdatamanagement"
|
|
|
|
- "traefik.http.services.blaze_ccp.loadbalancer.server.port=8080"
|
2022-11-03 17:19:15 +01:00
|
|
|
- "traefik.http.routers.blaze_ccp.middlewares=ccp_b_strip,auth"
|
2022-05-02 16:19:17 +02:00
|
|
|
- "traefik.http.routers.blaze_ccp.tls=true"
|
|
|
|
|
2024-10-18 13:32:06 +02:00
|
|
|
# Modification needed for running in a test mode
|
|
|
|
# Commented out so that the Bridgehead can run without Beam.
|
|
|
|
|
2024-10-18 11:15:18 +02:00
|
|
|
# focus:
|
|
|
|
# image: docker.verbis.dkfz.de/cache/samply/focus:0.4.4
|
|
|
|
# container_name: bridgehead-focus
|
|
|
|
# environment:
|
|
|
|
# API_KEY: ${FOCUS_BEAM_SECRET_SHORT}
|
|
|
|
# BEAM_APP_ID_LONG: focus.${PROXY_ID}
|
|
|
|
# PROXY_ID: ${PROXY_ID}
|
|
|
|
# BLAZE_URL: "http://bridgehead-ccp-blaze:8080/fhir/"
|
|
|
|
# BEAM_PROXY_URL: http://beam-proxy:8081
|
|
|
|
# RETRY_COUNT: ${FOCUS_RETRY_COUNT}
|
|
|
|
# EPSILON: 0.28
|
|
|
|
# depends_on:
|
|
|
|
## - "beam-proxy"
|
|
|
|
# - "blaze"
|
2022-09-05 16:01:56 +02:00
|
|
|
|
2024-10-18 13:32:06 +02:00
|
|
|
# Modification needed for running in a test mode
|
|
|
|
# Commented out so that the Bridgehead can run without Beam.
|
|
|
|
|
2024-10-18 11:15:18 +02:00
|
|
|
# beam-proxy:
|
|
|
|
# image: docker.verbis.dkfz.de/cache/samply/beam-proxy:develop
|
|
|
|
# container_name: bridgehead-beam-proxy
|
|
|
|
# environment:
|
|
|
|
# BROKER_URL: ${BROKER_URL}
|
|
|
|
# PROXY_ID: ${PROXY_ID}
|
|
|
|
# APP_focus_KEY: ${FOCUS_BEAM_SECRET_SHORT}
|
|
|
|
# PRIVKEY_FILE: /run/secrets/proxy.pem
|
|
|
|
# ALL_PROXY: http://forward_proxy:3128
|
|
|
|
# TLS_CA_CERTIFICATES_DIR: /conf/trusted-ca-certs
|
|
|
|
# ROOTCERT_FILE: /conf/root.crt.pem
|
|
|
|
# secrets:
|
|
|
|
# - proxy.pem
|
|
|
|
# depends_on:
|
|
|
|
# - "forward_proxy"
|
|
|
|
# volumes:
|
|
|
|
# - /etc/bridgehead/trusted-ca-certs:/conf/trusted-ca-certs:ro
|
|
|
|
# - /srv/docker/bridgehead/ccp/root.crt.pem:/conf/root.crt.pem:ro
|
2022-09-05 16:01:56 +02:00
|
|
|
|
2022-05-02 16:19:17 +02:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
blaze-data:
|
2022-09-05 16:01:56 +02:00
|
|
|
|
|
|
|
secrets:
|
|
|
|
proxy.pem:
|
2022-09-30 16:05:36 +02:00
|
|
|
file: /etc/bridgehead/pki/${SITE_ID}.priv.pem
|