mirror of
https://github.com/samply/bridgehead.git
synced 2025-12-09 07:54:26 +01:00
Compare commits
2 Commits
feature/it
...
feat/nngm
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b383932a4 | ||
|
|
56a8aac326 |
@@ -36,4 +36,9 @@ services:
|
|||||||
- "traefik.http.routers.spot.rule=Host(`${HOST}`) && PathPrefix(`/prod`)"
|
- "traefik.http.routers.spot.rule=Host(`${HOST}`) && PathPrefix(`/prod`)"
|
||||||
- "traefik.http.middlewares.stripprefix_spot.stripprefix.prefixes=/prod"
|
- "traefik.http.middlewares.stripprefix_spot.stripprefix.prefixes=/prod"
|
||||||
- "traefik.http.routers.spot.tls=true"
|
- "traefik.http.routers.spot.tls=true"
|
||||||
- "traefik.http.routers.spot.middlewares=corsheaders2,stripprefix_spot,auth"
|
- "traefik.http.routers.spot.middlewares=corsheaders2,stripprefix_spot,auth"
|
||||||
|
|
||||||
|
beam-proxy:
|
||||||
|
environment:
|
||||||
|
APP_spot_KEY: ${FOCUS_BEAM_SECRET_SHORT}
|
||||||
|
|
||||||
@@ -34,6 +34,7 @@ services:
|
|||||||
EPSILON: 0.28
|
EPSILON: 0.28
|
||||||
QUERIES_TO_CACHE: '/queries_to_cache.conf'
|
QUERIES_TO_CACHE: '/queries_to_cache.conf'
|
||||||
ENDPOINT_TYPE: ${FOCUS_ENDPOINT_TYPE:-blaze}
|
ENDPOINT_TYPE: ${FOCUS_ENDPOINT_TYPE:-blaze}
|
||||||
|
CQL_PROJECTS_ENABLED: "itcc"
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/docker/bridgehead/itcc/queries_to_cache.conf:/queries_to_cache.conf:ro
|
- /srv/docker/bridgehead/itcc/queries_to_cache.conf:/queries_to_cache.conf:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
if [ -n "$ENABLE_OMICS" ];then
|
|
||||||
OVERRIDE+=" -f ./$PROJECT/modules/itcc-omics-ingest.yaml"
|
|
||||||
GENERATE_API_KEY="$(generate_simple_password 'omics')"
|
|
||||||
fi
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
services:
|
|
||||||
omics-endpoint:
|
|
||||||
image: ghcr.io/samply/itcc-omics-ingest:main
|
|
||||||
environment:
|
|
||||||
- API_KEY=${GENERATE_API_KEY}
|
|
||||||
volumes:
|
|
||||||
- /var/cache/bridgehead/omics/data:/data/uploads
|
|
||||||
labels:
|
|
||||||
- "traefik.http.routers.omics.rule=Host(`${HOST}`) && PathPrefix(`/api/omics`)"
|
|
||||||
- "traefik.enable=true"
|
|
||||||
- "traefik.http.services.omics.loadbalancer.server.port=6080"
|
|
||||||
- "traefik.http.routers.omics.tls=true"
|
|
||||||
- "traefik.http.middlewares.omics-stripprefix.stripprefix.prefixes=/api"
|
|
||||||
- "traefik.http.routers.omics.middlewares=omics-stripprefix"
|
|
||||||
@@ -1,49 +1,33 @@
|
|||||||
version: "3.7"
|
version: "3.7"
|
||||||
services:
|
services:
|
||||||
landing:
|
landing:
|
||||||
container_name: lens_itcc_explorer
|
container_name: lens_federated-search
|
||||||
image: ghcr.io/samply/itcc-explorer:fix-setup
|
image: docker.verbis.dkfz.de/ccp/lens:${SITE_ID}
|
||||||
environment:
|
|
||||||
HOST: "0.0.0.0"
|
|
||||||
BIND_ADDR: "0.0.0.0:3000"
|
|
||||||
PUBLIC_ENVIRONMENT: ${PUBLIC_ENVIRONMENT}
|
|
||||||
labels:
|
labels:
|
||||||
- "traefik.http.routers.lens.rule=Host(`${HOST}`)"
|
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.services.landing.loadbalancer.server.port=3000"
|
- "traefik.http.routers.landing.rule=PathPrefix(`/`)"
|
||||||
|
- "traefik.http.services.landing.loadbalancer.server.port=80"
|
||||||
- "traefik.http.routers.landing.tls=true"
|
- "traefik.http.routers.landing.tls=true"
|
||||||
|
|
||||||
spot:
|
spot:
|
||||||
image: samply/rustyspot:latest
|
image: docker.verbis.dkfz.de/ccp-private/central-spot
|
||||||
environment:
|
environment:
|
||||||
HTTP_PROXY: ${HTTP_PROXY_URL}
|
|
||||||
HTTPS_PROXY: ${HTTPS_PROXY_URL}
|
|
||||||
NO_PROXY: beam-proxy
|
|
||||||
BEAM_SECRET: "${FOCUS_BEAM_SECRET_SHORT}"
|
BEAM_SECRET: "${FOCUS_BEAM_SECRET_SHORT}"
|
||||||
BEAM_PROXY_URL: http://beam-proxy:8081
|
BEAM_URL: http://beam-proxy:8081
|
||||||
BEAM_PROXY_ID: ${SITE_ID}
|
BEAM_PROXY_ID: ${SITE_ID}
|
||||||
BEAM_BROKER_ID: ${BROKER_ID}
|
BEAM_BROKER_ID: ${BROKER_ID}
|
||||||
BEAM_APP_ID: "spot.${SITE_ID}.${BROKER_ID}"
|
BEAM_APP_ID: "focus"
|
||||||
CORS_ORIGIN: "https://${HOST}"
|
PROJECT_METADATA: "itcc"
|
||||||
SITES: ${SITES}
|
|
||||||
TRANSFORM: LENS
|
|
||||||
PROJECT: "itcc"
|
|
||||||
BIND_ADDR: 0.0.0.0:8055
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- "beam-proxy"
|
- "beam-proxy"
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.services.spot.loadbalancer.server.port=8055"
|
- "traefik.http.services.spot.loadbalancer.server.port=8080"
|
||||||
- "traefik.http.middlewares.corsheaders2.headers.accesscontrolallowmethods=GET,OPTIONS,POST"
|
- "traefik.http.middlewares.corsheaders2.headers.accesscontrolallowmethods=GET,OPTIONS,POST"
|
||||||
- "traefik.http.middlewares.corsheaders2.headers.accesscontrolallowheaders=content-type"
|
|
||||||
- "traefik.http.middlewares.corsheaders2.headers.accesscontrolalloworiginlist=https://${HOST}"
|
- "traefik.http.middlewares.corsheaders2.headers.accesscontrolalloworiginlist=https://${HOST}"
|
||||||
- "traefik.http.middlewares.corsheaders2.headers.accesscontrolallowcredentials=true"
|
- "traefik.http.middlewares.corsheaders2.headers.accesscontrolallowcredentials=true"
|
||||||
- "traefik.http.middlewares.corsheaders2.headers.accesscontrolmaxage=-1"
|
- "traefik.http.middlewares.corsheaders2.headers.accesscontrolmaxage=-1"
|
||||||
- "traefik.http.routers.spot.rule=Host(`${HOST}`) && PathPrefix(`/prod`)"
|
- "traefik.http.routers.spot.rule=Host(`${HOST}`) && PathPrefix(`/backend`)"
|
||||||
- "traefik.http.middlewares.stripprefix_spot.stripprefix.prefixes=/prod"
|
- "traefik.http.middlewares.stripprefix_spot.stripprefix.prefixes=/backend"
|
||||||
- "traefik.http.routers.spot.tls=true"
|
- "traefik.http.routers.spot.tls=true"
|
||||||
- "traefik.http.routers.spot.middlewares=corsheaders2,stripprefix_spot,auth"
|
- "traefik.http.routers.spot.middlewares=corsheaders2,stripprefix_spot,auth"
|
||||||
|
|
||||||
beam-proxy:
|
|
||||||
environment:
|
|
||||||
APP_spot_KEY: ${FOCUS_BEAM_SECRET_SHORT}
|
|
||||||
|
|||||||
@@ -6,8 +6,6 @@ FOCUS_RETRY_COUNT=${FOCUS_RETRY_COUNT:-64}
|
|||||||
SUPPORT_EMAIL=arturo.macias@dkfz-heidelberg.de
|
SUPPORT_EMAIL=arturo.macias@dkfz-heidelberg.de
|
||||||
PRIVATEKEYFILENAME=/etc/bridgehead/pki/${SITE_ID}.priv.pem
|
PRIVATEKEYFILENAME=/etc/bridgehead/pki/${SITE_ID}.priv.pem
|
||||||
BROKER_URL_FOR_PREREQ=$BROKER_URL
|
BROKER_URL_FOR_PREREQ=$BROKER_URL
|
||||||
PUBLIC_ENVIRONMENT=prod
|
|
||||||
SITES=itcc-inform,itcc-ither,itcc-mappyacts,itcc-profyle,itcc-smpaeds,itcc-zero
|
|
||||||
|
|
||||||
for module in $PROJECT/modules/*.sh
|
for module in $PROJECT/modules/*.sh
|
||||||
do
|
do
|
||||||
|
|||||||
@@ -22,7 +22,8 @@ services:
|
|||||||
- "traefik.http.routers.blaze_nngm.tls=true"
|
- "traefik.http.routers.blaze_nngm.tls=true"
|
||||||
|
|
||||||
focus:
|
focus:
|
||||||
image: docker.verbis.dkfz.de/cache/samply/focus:${FOCUS_TAG}
|
#image: docker.verbis.dkfz.de/cache/samply/focus:${FOCUS_TAG}
|
||||||
|
image: ghcr.io/samply/focus:feature-nngm-v2
|
||||||
container_name: bridgehead-focus
|
container_name: bridgehead-focus
|
||||||
environment:
|
environment:
|
||||||
- API_KEY=${FOCUS_BEAM_SECRET_SHORT}
|
- API_KEY=${FOCUS_BEAM_SECRET_SHORT}
|
||||||
|
|||||||
Reference in New Issue
Block a user