2023-09-11 13:27:08 +02:00
|
|
|
version: "3.7"
|
|
|
|
|
2022-12-02 15:38:33 +01:00
|
|
|
services:
|
|
|
|
mtba:
|
2024-01-09 11:32:01 +01:00
|
|
|
image: docker.verbis.dkfz.de/cache/samply/mtba:1.0.0
|
2022-12-02 15:38:33 +01:00
|
|
|
container_name: bridgehead-mtba
|
|
|
|
environment:
|
2023-01-27 11:13:49 +01:00
|
|
|
BLAZE_STORE_URL: http://blaze:8080
|
2022-12-02 15:38:33 +01:00
|
|
|
# NOTE: Aktuell Berechtigungen wie MagicPL!!!
|
2022-12-16 15:01:04 +01:00
|
|
|
# TODO: Add separate ApiKey to MagicPL only for MTBA!
|
|
|
|
ID_MANAGER_API_KEY: ${IDMANAGER_UPLOAD_APIKEY}
|
2022-12-02 15:38:33 +01:00
|
|
|
ID_MANAGER_PSEUDONYM_ID_TYPE: BK_${IDMANAGEMENT_FRIENDLY_ID}_L-ID
|
2023-01-27 11:13:49 +01:00
|
|
|
ID_MANAGER_URL: http://id-manager:8080/id-manager
|
|
|
|
PATIENT_CSV_FIRST_NAME_HEADER: ${MTBA_PATIENT_CSV_FIRST_NAME_HEADER}
|
|
|
|
PATIENT_CSV_LAST_NAME_HEADER: ${MTBA_PATIENT_CSV_LAST_NAME_HEADER}
|
|
|
|
PATIENT_CSV_GENDER_HEADER: ${MTBA_PATIENT_CSV_GENDER_HEADER}
|
|
|
|
PATIENT_CSV_BIRTHDAY_HEADER: ${MTBA_PATIENT_CSV_BIRTHDAY_HEADER}
|
|
|
|
CBIOPORTAL_URL: http://cbioportal:8080
|
|
|
|
FILE_CHARSET: ${MTBA_FILE_CHARSET}
|
|
|
|
FILE_END_OF_LINE: ${MTBA_FILE_END_OF_LINE}
|
|
|
|
CSV_DELIMITER: ${MTBA_CSV_DELIMITER}
|
2023-07-07 09:52:35 +02:00
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
2023-08-11 17:22:34 +02:00
|
|
|
- "traefik.http.routers.mtba_ccp.rule=PathPrefix(`/mtba`)"
|
|
|
|
- "traefik.http.services.mtba_ccp.loadbalancer.server.port=8480"
|
|
|
|
- "traefik.http.routers.mtba_ccp.tls=true"
|
|
|
|
- "traefik.http.middlewares.mtba_ccp_strip.stripprefix.prefixes=/mtba"
|
|
|
|
- "traefik.http.routers.mtba_ccp.middlewares=mtba_ccp_strip, auth"
|
2022-12-02 15:38:33 +01:00
|
|
|
volumes:
|
2023-09-26 07:45:51 +02:00
|
|
|
- /var/cache/bridgehead/ccp/mtba/input:/app/input
|
|
|
|
- /var/cache/bridgehead/ccp/mtba/persist:/app/persist
|
2022-12-02 15:38:33 +01:00
|
|
|
|
|
|
|
# TODO: Include CBioPortal in Deployment ...
|
|
|
|
# NOTE: CBioPortal can't load data while the system is running. So after import of data bridgehead needs to be restarted!
|
|
|
|
# TODO: Find a trigger to let mtba signal a restart for CBioPortal
|
2023-07-07 09:52:35 +02:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
mtba-data:
|