Skip to content

Commit

Permalink
fix review comment and use same order everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
nr23730 committed Oct 17, 2024
1 parent 1145d10 commit 29e3ad4
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Select flavor: care, research, dev
FLAVOR=care
# Select flavor: mtb, research, dev
FLAVOR=mtb

# Release version e.g. 2024q4 or simply latest
RELEASE=2024q4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker build (care)
name: Docker build (mtb)

on:
push:
Expand All @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4

- name: Build care cBioPortal
run: FLAVOR=care docker compose build cbioportal
- name: Build care cbioproxy
run: FLAVOR=care docker compose build cbioproxy
- name: Build mtb cBioPortal
run: FLAVOR=mtb docker compose build cbioportal
- name: Build mtb cbioproxy
run: FLAVOR=mtb docker compose build cbioproxy
36 changes: 23 additions & 13 deletions compose/base.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
services:
cbioportal:
restart: unless-stopped
container_name: cbioportal_container
pull_policy: always
restart: unless-stopped
environment:
HTTP_PROXY: "http://${HTTPS_PROXY_HOST}:${HTTPS_PROXY_PORT}"
NO_PROXY: "cbioportal"
Expand All @@ -18,9 +19,9 @@ services:
networks:
- cbioportal_net
cbioportal_database:
restart: unless-stopped
image: docker.io/mariadb:11.5.2
container_name: cbioportal_database_container
image: docker.io/mariadb:11.5.2
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-P@ssword1}
MYSQL_DATABASE: cbioportal
Expand All @@ -40,9 +41,9 @@ services:
networks:
- cbioportal_net
cbioportal-session:
restart: unless-stopped
image: docker.io/cbioportal/session-service:0.6.1
container_name: cbioportal_session_container
image: docker.io/cbioportal/session-service:0.6.1
restart: unless-stopped
environment:
SERVER_PORT: 5000
JAVA_OPTS: -Dspring.data.mongodb.uri=mongodb://cbioportal-session-database:27017/session-service
Expand All @@ -51,22 +52,23 @@ services:
networks:
- cbioportal_net
cbioportal-session-database:
restart: unless-stopped
image: docker.io/mongo:4.2
container_name: cbioportal_session_database_container
image: docker.io/mongo:4.2
restart: unless-stopped
environment:
MONGO_INITDB_DATABASE: session_service
volumes:
- cbioportal_session_data:/data/db
networks:
- cbioportal_net
cbioproxy:
restart: unless-stopped
container_name: cbioproxy_container
image: ghcr.io/buschlab/cbioproxy:${RELEASE:-latest}
pull_policy: always
restart: unless-stopped
environment:
NGINX_LOGINREQUIRED: ${LOGINREQUIRED:-false}
PORT: ${PORT:-8080}
container_name: cbioproxy_container
volumes:
- ./services/cbioproxy/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf:Z
- ./services/cbioproxy/lua_resource_config.lua:/etc/nginx/conf.d/lua_resource_config.lua:Z
Expand All @@ -79,10 +81,12 @@ services:
networks:
- cbioportal_net
genomenexus:
container_name: genomenexus_container
image: ghcr.io/buschlab/genome-nexus:${RELEASE:-latest}
pull_policy: always
restart: unless-stopped
environment:
- SERVER_PORT=8888
restart: unless-stopped
depends_on:
- genomenexus_db
- ensembl-rest
Expand All @@ -102,17 +106,21 @@ services:
- cbioportal_net
genomenexus_db:
image: ghcr.io/buschlab/gn-mongo:0.31
volumes:
- genomenexus_data:/data/db
pull_policy: always
restart: unless-stopped
container_name: genomenexus_db_container
environment:
- REF_ENSEMBL_VERSION=grch37_ensembl92
- SPECIES=homo_sapiens
restart: unless-stopped
volumes:
- genomenexus_data:/data/db
networks:
- cbioportal_net
ensembl-rest:
image: docker.io/nr205/ensembl-rest:111
pull_policy: always
restart: unless-stopped
container_name: ensembl_rest_container
volumes:
- ./config/ensembl_rest.conf:/opt/vep/src/ensembl-rest/ensembl_rest.conf:Z
networks:
Expand All @@ -121,7 +129,9 @@ services:
- ensembl-mysql
ensembl-mysql:
image: ghcr.io/buschlab/ensembl-mysql:latest
pull_policy: always
restart: unless-stopped
container_name: ensembl_mysql_container
networks:
- cbioportal_net

Expand Down
File renamed without changes.

0 comments on commit 29e3ad4

Please sign in to comment.