mirror of https://github.com/samply/bridgehead.git
77 lines
3.5 KiB
YAML
77 lines
3.5 KiB
YAML
version: "3.7"
|
|
|
|
services:
|
|
|
|
teiler-orchestrator:
|
|
image: docker.verbis.dkfz.de/cache/samply/teiler-orchestrator:develop
|
|
container_name: bridgehead-teiler-orchestrator
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.teiler_orchestrator_ccp.rule=PathPrefix(`/ccp-teiler`)"
|
|
- "traefik.http.services.teiler_orchestrator_ccp.loadbalancer.server.port=9000"
|
|
- "traefik.http.routers.teiler_orchestrator_ccp.tls=true"
|
|
- "traefik.http.middlewares.teiler_orchestrator_ccp_strip.stripprefix.prefixes=/ccp-teiler"
|
|
- "traefik.http.routers.teiler_orchestrator_ccp.middlewares=teiler_orchestrator_ccp_strip"
|
|
environment:
|
|
TEILER_BACKEND_URL: "https://${HOST}/ccp-teiler-backend"
|
|
TEILER_DASHBOARD_URL: "https://${HOST}/ccp-teiler-dashboard"
|
|
DEFAULT_LANGUAGE: "${DEFAULT_LANGUAGE_LOWER_CASE}"
|
|
HTTP_RELATIVE_PATH: "/ccp-teiler"
|
|
|
|
teiler-dashboard:
|
|
image: docker.verbis.dkfz.de/cache/samply/teiler-dashboard:develop
|
|
container_name: bridgehead-teiler-dashboard
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.teiler_dashboard_ccp.rule=PathPrefix(`/ccp-teiler-dashboard`)"
|
|
- "traefik.http.services.teiler_dashboard_ccp.loadbalancer.server.port=80"
|
|
- "traefik.http.routers.teiler_dashboard_ccp.tls=true"
|
|
- "traefik.http.middlewares.teiler_dashboard_ccp_strip.stripprefix.prefixes=/ccp-teiler-dashboard"
|
|
- "traefik.http.routers.teiler_dashboard_ccp.middlewares=teiler_dashboard_ccp_strip"
|
|
environment:
|
|
DEFAULT_LANGUAGE: "${DEFAULT_LANGUAGE}"
|
|
TEILER_BACKEND_URL: "https://${HOST}/ccp-teiler-backend"
|
|
KEYCLOAK_URL: "${KEYCLOAK_URL}"
|
|
KEYCLOAK_REALM: "${KEYCLOAK_REALM}"
|
|
KEYCLOAK_CLIENT_ID: "${KEYCLOAK_PUBLIC_CLIENT_ID}"
|
|
KEYCLOAK_TOKEN_GROUP: "${KEYCLOAK_GROUP_CLAIM}"
|
|
TEILER_ADMIN_NAME: "${OPERATOR_FIRST_NAME} ${OPERATOR_LAST_NAME}"
|
|
TEILER_ADMIN_EMAIL: "${OPERATOR_EMAIL}"
|
|
TEILER_ADMIN_PHONE: "${OPERATOR_PHONE}"
|
|
TEILER_PROJECT: "${PROJECT}"
|
|
EXPORTER_API_KEY: "${EXPORTER_API_KEY}"
|
|
TEILER_ORCHESTRATOR_URL: "https://${HOST}/ccp-teiler"
|
|
TEILER_DASHBOARD_HTTP_RELATIVE_PATH: "/ccp-teiler-dashboard"
|
|
TEILER_ORCHESTRATOR_HTTP_RELATIVE_PATH: "/ccp-teiler"
|
|
TEILER_USER: "${KEYCLOAK_USER_GROUP}"
|
|
TEILER_ADMIN: "${KEYCLOAK_ADMIN_GROUP}"
|
|
|
|
teiler-backend:
|
|
image: docker.verbis.dkfz.de/ccp/dktk-teiler-backend:latest
|
|
container_name: bridgehead-teiler-backend
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.teiler_backend_ccp.rule=PathPrefix(`/ccp-teiler-backend`)"
|
|
- "traefik.http.services.teiler_backend_ccp.loadbalancer.server.port=8085"
|
|
- "traefik.http.routers.teiler_backend_ccp.tls=true"
|
|
- "traefik.http.middlewares.teiler_backend_ccp_strip.stripprefix.prefixes=/ccp-teiler-backend"
|
|
- "traefik.http.routers.teiler_backend_ccp.middlewares=teiler_backend_ccp_strip"
|
|
environment:
|
|
LOG_LEVEL: "INFO"
|
|
APPLICATION_PORT: "8085"
|
|
APPLICATION_ADDRESS: "${HOST}"
|
|
DEFAULT_LANGUAGE: "${DEFAULT_LANGUAGE}"
|
|
CONFIG_ENV_VAR_PATH: "/run/secrets/ccp.conf"
|
|
TEILER_ORCHESTRATOR_HTTP_RELATIVE_PATH: "/ccp-teiler"
|
|
TEILER_ORCHESTRATOR_URL: "https://${HOST}/ccp-teiler"
|
|
TEILER_DASHBOARD_DE_URL: "https://${HOST}/ccp-teiler-dashboard/de"
|
|
TEILER_DASHBOARD_EN_URL: "https://${HOST}/ccp-teiler-dashboard/en"
|
|
CENTRAX_URL: "${CENTRAXX_URL}"
|
|
HTTP_PROXY: "http://forward_proxy:3128"
|
|
secrets:
|
|
- ccp.conf
|
|
|
|
secrets:
|
|
ccp.conf:
|
|
file: /etc/bridgehead/ccp.conf
|