bridgehead/ccp/modules/cbioportal-compose.yml

54 lines
1.9 KiB
YAML
Raw Normal View History

2023-11-29 10:29:30 +01:00
version: '3.7'
services:
2023-12-15 12:30:14 +01:00
cbioportal:
image: docker.verbis.dkfz.de/ccp/dktk-cbioportal:latest
2023-12-15 12:30:14 +01:00
container_name: bridgehead-cbioportal
environment:
DB_PASSWORD: ${CBIOPORTAL_DB_PASSWORD}
HTTP_RELATIVE_PATH: "/cbioportal"
UPLOAD_HTTP_RELATIVE_PATH: "/cbioportal-upload"
depends_on:
- cbioportal-database
- cbioportal-session
labels:
- "traefik.enable=true"
- "traefik.http.routers.cbioportal.rule=PathPrefix(`/cbioportal`)"
2023-12-15 13:05:54 +01:00
- "traefik.http.routers.cbioportal.service=cbioportal"
2023-12-15 12:30:14 +01:00
- "traefik.http.services.cbioportal.loadbalancer.server.port=8080"
- "traefik.http.routers.cbioportal.tls=true"
- "traefik.http.routers.cbioportal-upload.rule=PathPrefix(`/cbioportal-upload`)"
2023-12-15 13:05:54 +01:00
- "traefik.http.routers.cbioportal-upload.service=cbioportal-upload"
2023-12-15 12:30:14 +01:00
- "traefik.http.routers.cbioportal-upload.tls=true"
- "traefik.http.services.cbioportal-upload.loadbalancer.server.port=8001"
2023-11-29 10:29:30 +01:00
cbioportal-database:
2023-12-15 13:05:54 +01:00
image: docker.verbis.dkfz.de/ccp/dktk-cbioportal-database:latest
2023-11-29 10:29:30 +01:00
container_name: bridgehead-cbioportal-database
environment:
MYSQL_DATABASE: cbioportal
MYSQL_USER: cbio_user
MYSQL_PASSWORD: ${CBIOPORTAL_DB_PASSWORD}
MYSQL_ROOT_PASSWORD: ${CBIOPORTAL_DB_ROOT_PASSWORD}
2023-11-29 10:29:30 +01:00
volumes:
- /var/cache/bridgehead/ccp/cbioportal_db_data:/var/lib/mysql
2023-11-29 10:29:30 +01:00
cbioportal-session:
image: cbioportal/session-service:0.6.1
container_name: bridgehead-cbioportal-session
environment:
SERVER_PORT: 5000
JAVA_OPTS: -Dspring.data.mongodb.uri=mongodb://cbioportal-session-database:27017/session-service
depends_on:
- cbioportal-session-database
cbioportal-session-database:
image: mongo:4.2
container_name: bridgehead-cbioportal-session-database
environment:
MONGO_INITDB_DATABASE: session_service
volumes:
- /var/cache/bridgehead/ccp/cbioportal_session_db_data:/data/db