mirror of
				https://github.com/samply/bridgehead.git
				synced 2025-11-04 15:20:17 +01:00 
			
		
		
		
	Changed: to use the generated passwords from cbioportal-setup.sh. Removed: local database files (they have been added in the database image named bridgehead-cbioportal-database)
This commit is contained in:
		@@ -2,12 +2,16 @@ version: '3.7'
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  cbioportal:
 | 
			
		||||
    image: docker.verbis.dkfz.de/ccp/dktk-cbioportal:latest
 | 
			
		||||
    # image: docker.verbis.dkfz.de/ccp/dktk-cbioportal:latest
 | 
			
		||||
    image: bridgehead-cbioportal
 | 
			
		||||
    container_name: bridgehead-cbioportal
 | 
			
		||||
    environment:
 | 
			
		||||
      DB_PASSWORD: ${CBIOPORTAL_DB_PASSWORD}
 | 
			
		||||
      # DB_PASSWORD: "password1234"
 | 
			
		||||
      HTTP_RELATIVE_PATH: "/cbioportal"
 | 
			
		||||
      UPLOAD_HTTP_RELATIVE_PATH: "/cbioportal-upload"
 | 
			
		||||
      UPLOAD_FOLDER: "/app/uploads"
 | 
			
		||||
      EXTRACTED_FOLDER: "/app/study"
 | 
			
		||||
    depends_on:
 | 
			
		||||
      - cbioportal-database
 | 
			
		||||
      - cbioportal-session
 | 
			
		||||
@@ -22,19 +26,21 @@ services:
 | 
			
		||||
      - "traefik.http.routers.cbioportal-upload.tls=true"
 | 
			
		||||
      - "traefik.http.services.cbioportal-upload.loadbalancer.server.port=8001" 
 | 
			
		||||
      
 | 
			
		||||
      
 | 
			
		||||
 | 
			
		||||
  cbioportal-database:
 | 
			
		||||
    image: docker.verbis.dkfz.de/ccp/dktk-cbioportal-database:latest
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
    # image: docker.verbis.dkfz.de/ccp/dktk-cbioportal-database:latest
 | 
			
		||||
    image: bridgehead-cbioportal-database
 | 
			
		||||
    container_name: bridgehead-cbioportal-database
 | 
			
		||||
    environment:
 | 
			
		||||
      MYSQL_DATABASE: cbioportal
 | 
			
		||||
      MYSQL_USER: cbio_user
 | 
			
		||||
      MYSQL_DATABASE: "cbioportal"
 | 
			
		||||
      MYSQL_USER: "cbio_user"
 | 
			
		||||
      MYSQL_PASSWORD: ${CBIOPORTAL_DB_PASSWORD}
 | 
			
		||||
      MYSQL_ROOT_PASSWORD: ${CBIOPORTAL_DB_ROOT_PASSWORD}
 | 
			
		||||
      # MYSQL_PASSWORD: "password1234"
 | 
			
		||||
      # MYSQL_ROOT_PASSWORD: "password12"
 | 
			
		||||
    volumes:
 | 
			
		||||
      - /var/cache/bridgehead/ccp/cbioportal_db_data:/var/lib/mysql
 | 
			
		||||
 | 
			
		||||
     - /var/cache/bridgehead/ccp/cbioportal_db_data:/var/lib/mysql
 | 
			
		||||
 
 | 
			
		||||
  cbioportal-session:
 | 
			
		||||
    image: cbioportal/session-service:0.6.1
 | 
			
		||||
    container_name: bridgehead-cbioportal-session
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,7 @@
 | 
			
		||||
#!/bin/bash -e
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
ENABLE_CBIOPORTAL=true
 | 
			
		||||
 if [ "$ENABLE_CBIOPORTAL" == true ]; then
 | 
			
		||||
  log INFO "cBioPortal setup detected -- will start cBioPortal service."
 | 
			
		||||
  OVERRIDE+=" -f ./$PROJECT/modules/cbioportal-compose.yml"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user