mirror of
				https://github.com/samply/bridgehead.git
				synced 2025-11-04 16:30:18 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
version: "3.7"
 | 
						|
 | 
						|
# This includes only the shared persistence for BBMRI-ERIC and GBN. Federation components are included as modules, see vars.
 | 
						|
 | 
						|
services:
 | 
						|
  blaze:
 | 
						|
    image: docker.verbis.dkfz.de/cache/samply/blaze:${BLAZE_TAG}
 | 
						|
    container_name: bridgehead-bbmri-blaze
 | 
						|
    environment:
 | 
						|
      BASE_URL: "http://bridgehead-bbmri-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:/app/data"
 | 
						|
    labels:
 | 
						|
      - "traefik.enable=true"
 | 
						|
      - "traefik.http.routers.blaze_ccp.rule=PathPrefix(`/bbmri-localdatamanagement`)"
 | 
						|
      - "traefik.http.middlewares.ccp_b_strip.stripprefix.prefixes=/bbmri-localdatamanagement"
 | 
						|
      - "traefik.http.services.blaze_ccp.loadbalancer.server.port=8080"
 | 
						|
      - "traefik.http.routers.blaze_ccp.middlewares=ccp_b_strip,auth"
 | 
						|
      - "traefik.http.routers.blaze_ccp.tls=true"
 | 
						|
 | 
						|
volumes:
 | 
						|
  blaze-data:
 | 
						|
 | 
						|
# used in modules *-locator.yml
 | 
						|
secrets:
 | 
						|
  proxy.pem:
 | 
						|
    file: /etc/bridgehead/pki/${SITE_ID}.priv.pem
 |