WIP blaze frontend

This commit is contained in:
janskiba 2024-05-28 14:14:36 +02:00
parent 68f06c0d9d
commit 667048d49f
2 changed files with 22 additions and 0 deletions

View File

@ -20,6 +20,27 @@ services:
- "traefik.http.routers.blaze_ccp.middlewares=ccp_b_strip,auth"
- "traefik.http.routers.blaze_ccp.tls=true"
frontend:
image: "samply/blaze-frontend:latest"
environment:
ORIGIN: "https://${HOST}/ccp-blaze-frontend"
BACKEND_BASE_URL: "https://${HOST}/ccp-localdatamanagement"
AUTH_CLIENT_ID: "${OIDC_PRIVATE_CLIENT_ID}"
AUTH_CLIENT_SECRET: "${OIDC_CLIENT_SECRET}"
AUTH_ISSUER: "${OIDC_URL}"
AUTH_SECRET: "666df42c74ce1f4728fe2ffe99b146e0f2e4b4f9810594fcf68c0330495bca0f" # TODO: Generate
PROTOCOL_HEADER: "x-forwarded-proto"
HOST_HEADER: "x-forwarded-host"
depends_on:
- blaze
labels:
- "traefik.enable=true"
- "traefik.http.routers.blaze_frontend.rule=PathPrefix(`/ccp-blaze-frontend`)"
- "traefik.http.middlewares.ccp_blaze_frontend_strip.stripprefix.prefixes=/ccp-blaze-frontend"
- "traefik.http.routers.blaze_ccp.middlewares=ccp_blaze_frontend_strip"
- "traefik.http.services.blaze_frontend.loadbalancer.server.port=3000"
- "traefik.http.routers.blaze_frontend.tls=true"
focus:
image: docker.verbis.dkfz.de/cache/samply/focus:${FOCUS_TAG}
container_name: bridgehead-focus

View File

@ -17,6 +17,7 @@ OIDC_REALM="${OIDC_REALM:-master}"
OIDC_URL="https://login.verbis.dkfz.de"
OIDC_ISSUER_URL="${OIDC_URL}/realms/${OIDC_REALM}"
OIDC_GROUP_CLAIM="groups"
add_private_oidc_redirect_url "/ccp-localdatamanagement"
POSTGRES_TAG=15.6-alpine