bridgehead/ccp/docker-compose.yml

64 lines
2.0 KiB
YAML
Raw Normal View History

version: "3.7"
services:
blaze:
2023-05-16 11:57:27 +02:00
image: docker.verbis.dkfz.de/cache/samply/blaze:latest
container_name: bridgehead-ccp-blaze
environment:
2022-09-07 11:09:53 +02:00
BASE_URL: "http://bridgehead-ccp-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
ENFORCE_REFERENTIAL_INTEGRITY: "false"
volumes:
2022-10-11 18:29:08 +02:00
- "blaze-data:/app/data"
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"
- "traefik.http.routers.blaze_ccp.tls=true"
2023-06-16 16:24:48 +02:00
focus:
2024-05-21 16:16:40 +02:00
image: docker.verbis.dkfz.de/cache/samply/focus:${FOCUS_TAG}
2023-06-16 16:24:48 +02:00
container_name: bridgehead-focus
environment:
2023-06-19 13:33:26 +02:00
API_KEY: ${FOCUS_BEAM_SECRET_SHORT}
2023-06-16 16:24:48 +02:00
BEAM_APP_ID_LONG: focus.${PROXY_ID}
2022-09-07 11:09:53 +02:00
PROXY_ID: ${PROXY_ID}
2023-06-16 16:24:48 +02:00
BLAZE_URL: "http://bridgehead-ccp-blaze:8080/fhir/"
BEAM_PROXY_URL: http://beam-proxy:8081
RETRY_COUNT: ${FOCUS_RETRY_COUNT}
2023-11-02 08:34:56 +01:00
EPSILON: 0.28
2022-09-07 11:09:53 +02:00
depends_on:
- "beam-proxy"
- "blaze"
beam-proxy:
2023-03-09 11:16:34 +01:00
image: docker.verbis.dkfz.de/cache/samply/beam-proxy:develop
2022-09-07 11:09:53 +02:00
container_name: bridgehead-beam-proxy
environment:
BROKER_URL: ${BROKER_URL}
PROXY_ID: ${PROXY_ID}
2023-06-19 13:25:22 +02:00
APP_focus_KEY: ${FOCUS_BEAM_SECRET_SHORT}
PRIVKEY_FILE: /run/secrets/proxy.pem
2022-09-29 16:31:35 +02:00
ALL_PROXY: http://forward_proxy:3128
2022-10-11 18:29:08 +02:00
TLS_CA_CERTIFICATES_DIR: /conf/trusted-ca-certs
ROOTCERT_FILE: /conf/root.crt.pem
secrets:
- proxy.pem
2022-09-07 11:09:53 +02:00
depends_on:
- "forward_proxy"
2022-10-11 18:29:08 +02:00
volumes:
- /etc/bridgehead/trusted-ca-certs:/conf/trusted-ca-certs:ro
2023-06-28 14:55:35 +02:00
- /srv/docker/bridgehead/ccp/root.crt.pem:/conf/root.crt.pem:ro
volumes:
blaze-data:
secrets:
proxy.pem:
2022-09-30 16:05:36 +02:00
file: /etc/bridgehead/pki/${SITE_ID}.priv.pem