mirror of https://github.com/samply/bridgehead.git
Integrating cbioportal
This commit is contained in:
parent
9f97792d6a
commit
66d4629978
|
@ -1,22 +1,29 @@
|
||||||
version: '3.7'
|
version: '3.7'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# cbioportal:
|
cbioportal:
|
||||||
# image: docker.verbis.dkfz.de/ccp/dktk-cbioportal:latest
|
#image: docker.verbis.dkfz.de/ccp/dktk-cbioportal:latest
|
||||||
# container_name: bridgehead-cbioportal
|
image: dktk-cbioportal
|
||||||
# environment:
|
container_name: bridgehead-cbioportal
|
||||||
# DB_PASSWORD: ${CBIOPORTAL_DB_PASSWORD}
|
environment:
|
||||||
# depends_on:
|
DB_PASSWORD: ${CBIOPORTAL_DB_PASSWORD}
|
||||||
# - cbioportal-database
|
HTTP_RELATIVE_PATH: "/cbioportal"
|
||||||
# - cbioportal-session
|
UPLOAD_HTTP_RELATIVE_PATH: "/cbioportal-upload"
|
||||||
# labels:
|
depends_on:
|
||||||
# - "traefik.enable=true"
|
- cbioportal-database
|
||||||
# - "traefik.http.routers.cbioportal.rule=PathPrefix(`/cbioportal`)"
|
- cbioportal-session
|
||||||
# - "traefik.http.services.cbioportal.loadbalancer.server.port=8080"
|
labels:
|
||||||
# - "traefik.http.routers.cbioportal.tls=true"
|
- "traefik.enable=true"
|
||||||
# - "traefik.http.routers.cbioportal-update.rule=PathPrefix(`/cbioportal-update`)"
|
- "traefik.http.routers.cbioportal.rule=PathPrefix(`/cbioportal`)"
|
||||||
# - "traefik.http.services.cbioportal-update.loadbalancer.server.port=8001"
|
- "traefik.http.routers.cbioportal.service=cbioportal
|
||||||
# - "traefik.http.routers.cbioportal-update.tls=true"
|
- "traefik.http.services.cbioportal.loadbalancer.server.port=8080"
|
||||||
|
- "traefik.http.routers.cbioportal.tls=true"
|
||||||
|
- "traefik.http.routers.cbioportal-upload.rule=PathPrefix(`/cbioportal-upload`)"
|
||||||
|
- "traefik.http.routers.cbioportal-upload.service=cbioportal-upload
|
||||||
|
- "traefik.http.routers.cbioportal-upload.tls=true"
|
||||||
|
- "traefik.http.services.cbioportal-upload.loadbalancer.server.port=8001"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
cbioportal-database:
|
cbioportal-database:
|
||||||
#image: docker.verbis.dkfz.de/ccp/dktk-cbioportal-database:latest
|
#image: docker.verbis.dkfz.de/ccp/dktk-cbioportal-database:latest
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
if [ "$ENABLE_CBIOPORTAL" == true ]; then
|
# if [ "$ENABLE_CBIOPORTAL" == true ]; then
|
||||||
log INFO "cBioPortal setup detected -- will start cBioPortal service."
|
log INFO "cBioPortal setup detected -- will start cBioPortal service."
|
||||||
OVERRIDE+=" -f ./$PROJECT/modules/cbioportal-compose.yml"
|
OVERRIDE+=" -f ./$PROJECT/modules/cbioportal-compose.yml"
|
||||||
CBIOPORTAL_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password for the cbioportal database. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
|
CBIOPORTAL_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password for the cbioportal database. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
|
||||||
CBIOPORTAL_DB_ROOT_PASSWORD="$(echo \"This is a salt string to generate one consistent root password for the cbioportal database. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 64)"
|
CBIOPORTAL_DB_ROOT_PASSWORD="$(echo \"This is a salt string to generate one consistent root password for the cbioportal database. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 64)"
|
||||||
fi
|
# fi
|
||||||
|
|
Loading…
Reference in New Issue