2021-12-21 09:12:34 +01:00
|
|
|
version: "3.7"
|
|
|
|
volumes:
|
2022-02-24 13:01:05 +01:00
|
|
|
c4-connector-db-data:
|
|
|
|
c4-connector-logs:
|
|
|
|
patientlist-db-data:
|
|
|
|
patientlist-logs:
|
|
|
|
id-manager-logs:
|
|
|
|
c4-store-db-data:
|
|
|
|
c4-store-logs:
|
2021-12-21 09:12:34 +01:00
|
|
|
|
|
|
|
services:
|
2022-01-21 09:32:21 +01:00
|
|
|
traefik:
|
|
|
|
image: traefik:2.4
|
|
|
|
command:
|
|
|
|
- --api.insecure=true
|
|
|
|
- --entrypoints.web.address=:80
|
|
|
|
- --entrypoints.web-secure.address=:443
|
|
|
|
- --providers.docker=true
|
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
- 443:443
|
|
|
|
- 8080:8080
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
|
|
|
|
landing:
|
|
|
|
image: nginx:stable
|
|
|
|
volumes:
|
|
|
|
- ../landing/:/usr/share/nginx/html
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.landing.rule=PathPrefix(`/`)"
|
|
|
|
- "traefik.http.services.landing.loadbalancer.server.port=80"
|
|
|
|
|
2022-02-24 13:01:05 +01:00
|
|
|
c4-connector:
|
2022-02-23 19:31:57 +01:00
|
|
|
image: "samply/share-client:c4-feature-environmentPreconfigurationTorben"
|
2021-12-21 09:12:34 +01:00
|
|
|
environment:
|
2022-02-24 13:01:05 +01:00
|
|
|
POSTGRES_HOST: "c4-connector-db"
|
|
|
|
ID_MANAGER_APIKEY: ${MAGICPL_API_KEY_CONNECTOR}
|
|
|
|
POSTGRES_PASSWORD: ${CONNECTOR_POSTGRES_PASS}
|
|
|
|
HTTP_PROXY_USER: ${HTTP_PROXY_USER}
|
|
|
|
HTTP_PROXY_PASSWORD: ${HTTP_PROXY_PASSWORD}
|
|
|
|
HTTPS_PROXY_USER: ${HTTPS_PROXY_USER}
|
|
|
|
HTTPS_PROXY_PASSWORD: ${HTTPS_PROXY_PASSWORD}
|
|
|
|
LDM_URL: "${PROTOCOL}://${HOST}/c4-localdatamanagement"
|
2022-01-21 09:32:21 +01:00
|
|
|
POSTGRES_PASSWORD: ${CONNECTOR_POSTGRES_PASS}
|
2022-02-24 13:01:05 +01:00
|
|
|
env_file:
|
|
|
|
- ../site-config/c4.env
|
|
|
|
# Necessary for the connector to successful check the status of other components on the same host
|
|
|
|
extra_hosts:
|
|
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
- "${HOST}:${HOSTIP}"
|
2021-12-21 09:12:34 +01:00
|
|
|
volumes:
|
2022-02-24 13:01:05 +01:00
|
|
|
- "c4-connector-logs:/usr/local/tomcat/logs"
|
|
|
|
depends_on:
|
|
|
|
- connector-db
|
|
|
|
restart: always
|
2022-01-21 09:32:21 +01:00
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.c4_connector.rule=PathPrefix(`/c4-connector`)"
|
|
|
|
- "traefik.http.services.c4_connector.loadbalancer.server.port=8080"
|
2022-01-08 09:46:45 +01:00
|
|
|
|
2022-02-24 13:01:05 +01:00
|
|
|
c4-connector-db:
|
2021-12-21 09:12:34 +01:00
|
|
|
image: postgres:10.17
|
|
|
|
environment:
|
2022-02-23 19:31:57 +01:00
|
|
|
POSTGRES_DB: "share_v2"
|
|
|
|
POSTGRES_USER: "samplyweb"
|
2022-01-04 15:26:34 +01:00
|
|
|
POSTGRES_PASSWORD: ${CONNECTOR_POSTGRES_PASS}
|
2021-12-21 09:12:34 +01:00
|
|
|
volumes:
|
2022-02-24 13:01:05 +01:00
|
|
|
- "c4-connector-db-data:/var/lib/postgresql/data"
|
2021-12-21 09:12:34 +01:00
|
|
|
restart: always
|
2022-01-04 15:26:34 +01:00
|
|
|
|
2022-02-24 13:01:05 +01:00
|
|
|
id-manager:
|
2022-02-23 19:31:57 +01:00
|
|
|
image: docker.verbis.dkfz.de/ccp/idmanager:bridgehead-develop
|
2021-12-21 09:12:34 +01:00
|
|
|
environment:
|
2022-02-23 19:31:57 +01:00
|
|
|
MAGICPL_SITE: ${SITE}
|
2022-01-04 15:26:34 +01:00
|
|
|
MAGICPL_MAINZELLISTE_API_KEY: ${MAGICPL_MAINZELLISTE_API_KEY}
|
|
|
|
MAGICPL_API_KEY: ${MAGICPL_API_KEY}
|
|
|
|
MAGICPL_API_KEY_CONNECTOR: ${MAGICPL_API_KEY_CONNECTOR}
|
|
|
|
MAGICPL_MAINZELLISTE_CENTRAL_API_KEY: ${MAGICPL_MAINZELLISTE_CENTRAL_API_KEY}
|
|
|
|
MAGICPL_CENTRAL_API_KEY: ${MAGICPL_CENTRAL_API_KEY}
|
|
|
|
MAGICPL_OIDC_CLIENT_ID: ${MAGICPL_OIDC_CLIENT_ID}
|
|
|
|
MAGICPL_OIDC_CLIENT_SECRET: ${MAGICPL_OIDC_CLIENT_SECRET}
|
2022-02-24 13:01:05 +01:00
|
|
|
TOMCAT_REVERSEPROXY_FQDN: "${HOST}"
|
|
|
|
HTTP_PROXY_USER: ${HTTP_PROXY_USER}
|
|
|
|
HTTP_PROXY_PASSWORD: ${HTTP_PROXY_PASSWORD}
|
|
|
|
HTTPS_PROXY_USER: ${HTTPS_PROXY_USER}
|
|
|
|
HTTPS_PROXY_PASSWORD: ${HTTPS_PROXY_PASSWORD}
|
|
|
|
env_file:
|
|
|
|
- ../site-config/dktk.env
|
2021-12-21 09:12:34 +01:00
|
|
|
volumes:
|
2022-02-24 13:01:05 +01:00
|
|
|
- "id-manager-logs:/usr/local/tomcat/logs"
|
2022-02-23 19:31:57 +01:00
|
|
|
depends_on:
|
|
|
|
- patientlist
|
2022-01-21 09:32:21 +01:00
|
|
|
labels:
|
2022-02-23 19:31:57 +01:00
|
|
|
- "traefik.http.routers.idmanager.rule=PathPrefix(`/ID-Manager`)"
|
2022-01-21 09:32:21 +01:00
|
|
|
- "traefik.http.services.idmanager.loadbalancer.server.port=8080"
|
2022-02-23 19:31:57 +01:00
|
|
|
|
|
|
|
patientlist:
|
|
|
|
image: docker.verbis.dkfz.de/ccp/patientlist:bridgehead-develop
|
|
|
|
environment:
|
|
|
|
ML_SITE: ${SITE}
|
2022-02-24 13:01:05 +01:00
|
|
|
ML_API_KEY: ${MAGICPL_MAINZELLISTE_API_KEY}
|
|
|
|
ML_DB_PASS: ${ML_DB_PASS}
|
|
|
|
TOMCAT_REVERSEPROXY_FQDN: "${HOST}"
|
2022-01-04 15:26:34 +01:00
|
|
|
env_file:
|
2022-02-24 13:01:05 +01:00
|
|
|
- ../site-config/dktk.env
|
2022-02-23 19:31:57 +01:00
|
|
|
# TODO: Implement automatic seed generation in mainzelliste
|
|
|
|
- ../site-config/patientlist.env
|
|
|
|
volumes:
|
2022-02-24 13:01:05 +01:00
|
|
|
- "patientlist-logs:/usr/local/tomcat/logs"
|
2022-02-23 19:31:57 +01:00
|
|
|
labels:
|
|
|
|
- "traefik.http.routers.patientlist.rule=PathPrefix(`/Patientlist`)"
|
|
|
|
- "traefik.http.services.patientlist.loadbalancer.server.port=8080"
|
|
|
|
depends_on:
|
|
|
|
- patientlist-db
|
|
|
|
|
|
|
|
patientlist-db:
|
|
|
|
image: postgres:13.1-alpine
|
|
|
|
environment:
|
|
|
|
POSTGRES_DB: mainzelliste
|
|
|
|
POSTGRES_USER: mainzelliste
|
|
|
|
POSTGRES_PASSWORD: ${ML_DB_PASS}
|
|
|
|
TZ: "Europe/Berlin"
|
|
|
|
volumes:
|
2022-02-24 13:01:05 +01:00
|
|
|
- "patientlist-db-data:/var/lib/postgresql/data"
|
2021-12-21 09:12:34 +01:00
|
|
|
|
2022-02-24 13:01:05 +01:00
|
|
|
c4-store:
|
2021-12-21 09:12:34 +01:00
|
|
|
image: docker.verbis.dkfz.de/ccp/samply.store:release-5.1.2
|
|
|
|
environment:
|
2022-02-24 13:01:05 +01:00
|
|
|
MDR_NAMESPACE: "adt,dktk,marker"
|
|
|
|
MDR_VALIDATION: false
|
|
|
|
DEPLOYMENT_CONTEXT: "c4-localdatamanagement"
|
|
|
|
POSTGRES_HOST: c4-store-db
|
2022-01-21 09:32:21 +01:00
|
|
|
POSTGRES_PORT: 5432
|
|
|
|
POSTGRES_DB: samplystore
|
|
|
|
POSTGRES_USER: samplystore
|
2022-02-24 13:01:05 +01:00
|
|
|
POSTGRES_PASSWORD: ${STORE_POSTGRES_PASS}
|
|
|
|
TZ: "Europe/Berlin"
|
2021-12-21 09:12:34 +01:00
|
|
|
volumes:
|
2022-02-24 13:01:05 +01:00
|
|
|
- "c4-store-logs:/usr/local/tomcat/logs"
|
2022-01-21 09:32:21 +01:00
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
2022-02-24 13:01:05 +01:00
|
|
|
- "traefik.http.routers.store_c4.rule=PathPrefix(`/c4-localdatamanagement`)"
|
2021-12-21 09:12:34 +01:00
|
|
|
depends_on:
|
2022-02-24 13:01:05 +01:00
|
|
|
- store-db
|
2021-12-21 09:12:34 +01:00
|
|
|
restart: always
|
|
|
|
|
2022-02-24 13:01:05 +01:00
|
|
|
c4-store-db:
|
2022-01-08 09:46:45 +01:00
|
|
|
image: postgres:9.5-alpine
|
2021-12-21 09:12:34 +01:00
|
|
|
command: postgres -c datestyle='iso, dmy'
|
|
|
|
environment:
|
2022-02-24 13:01:05 +01:00
|
|
|
TZ: "Europe/Berlin"
|
2022-01-21 09:32:21 +01:00
|
|
|
POSTGRES_DB: samplystore
|
|
|
|
POSTGRES_USER: samplystore
|
2022-02-24 13:01:05 +01:00
|
|
|
POSTGRES_PASSWORD: ${STORE_POSTGRES_PASS}
|
2021-12-21 09:12:34 +01:00
|
|
|
volumes:
|
2022-02-24 13:01:05 +01:00
|
|
|
- "c4-store-db-data:/var/lib/postgresql/data"
|
2021-12-21 09:12:34 +01:00
|
|
|
restart: always
|