mirror of
				https://github.com/samply/bridgehead.git
				synced 2025-11-04 08:20:17 +01:00 
			
		
		
		
	Added Report Hub for EXLIQUID
This commit is contained in:
		
							
								
								
									
										38
									
								
								ccp/exliquid-compose.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								ccp/exliquid-compose.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
version: "3.7"
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  task-store:
 | 
			
		||||
    image: "samply/blaze:0.18"
 | 
			
		||||
    container_name: bridgehead-task-store
 | 
			
		||||
    environment:
 | 
			
		||||
      BASE_URL: "http://localhost:8083"
 | 
			
		||||
      JAVA_TOOL_OPTIONS: "-Xmx1g"
 | 
			
		||||
      LOG_LEVEL: "debug"
 | 
			
		||||
    volumes:
 | 
			
		||||
    - "task-store-data:/app/data"
 | 
			
		||||
    labels:
 | 
			
		||||
      - "traefik.enable=false"
 | 
			
		||||
 | 
			
		||||
  report-hub:
 | 
			
		||||
    image: "samply/report-hub:latest"
 | 
			
		||||
    container_name: bridgehead-report-hub
 | 
			
		||||
    environment:
 | 
			
		||||
      BASE_URL: "http://ccp-task-store:8080"
 | 
			
		||||
      JAVA_TOOL_OPTIONS: "-Xmx1g"
 | 
			
		||||
      LOG_LEVEL: "debug"
 | 
			
		||||
      PROXY_ID: "report-hub.${PROXY_ID}"
 | 
			
		||||
      SECRET: ${REPORTHUB_BEAM_SECRET_SHORT}
 | 
			
		||||
      TASK_STORE: "http://bridgehead-task-store:8080/fhir"
 | 
			
		||||
      LDM_URL:  http://bridgehead-ccp-blaze:8080/fhir
 | 
			
		||||
      BEAM_PROXY: "http://beam-proxy:8081"
 | 
			
		||||
    restart: always
 | 
			
		||||
    labels:
 | 
			
		||||
      - "traefik.enable=true"
 | 
			
		||||
      - "traefik.http.routers.blaze_ccp.rule=PathPrefix(`/ccp-report-hub`)"
 | 
			
		||||
      - "traefik.http.middlewares.ccp_t_strip.stripprefix.prefixes=/ccp-report-hub"
 | 
			
		||||
      - "traefik.http.services.blaze_ccp.loadbalancer.server.port=8080"
 | 
			
		||||
      - "traefik.http.routers.blaze_ccp.middlewares=ccp_t_strip,ccp-auth"
 | 
			
		||||
      - "traefik.http.routers.blaze_ccp.tls=true"
 | 
			
		||||
 | 
			
		||||
volumes:
 | 
			
		||||
  task-store-data:
 | 
			
		||||
							
								
								
									
										8
									
								
								ccp/exliquid-setup.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								ccp/exliquid-setup.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
function exliquidSetup() {
 | 
			
		||||
	if [ -n "$EXLIQUID" ]; then
 | 
			
		||||
		log INFO "EXLIQUID setup detected -- will start Reporthub."
 | 
			
		||||
		OVERRIDE+="-f ./$PROJECT/exliquid-compose.yml"
 | 
			
		||||
	fi
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user