2022-10-26 11:50:21 +02:00
|
|
|
version: "3.7"
|
2023-05-04 15:18:30 +02:00
|
|
|
volumes:
|
|
|
|
nngm-rest:
|
2022-10-26 11:50:21 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
connector:
|
|
|
|
container_name: bridgehead-connector
|
2023-05-04 15:18:30 +02:00
|
|
|
image: docker.verbis.dkfz.de/ccp/nngm-rest:main
|
2022-10-26 11:50:21 +02:00
|
|
|
environment:
|
2023-05-04 15:18:30 +02:00
|
|
|
CTS_MAGICPL_API_KEY: ${NNGM_MAGICPL_APIKEY}
|
|
|
|
CTS_API_KEY: ${NNGM_CTS_APIKEY}
|
|
|
|
CRYPT_KEY: ${NNGM_CRYPTKEY}
|
|
|
|
#CTS_MAGICPL_SITE: ${SITE_ID}TODO
|
2022-10-26 11:50:21 +02:00
|
|
|
restart: always
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
2023-05-04 15:18:30 +02:00
|
|
|
- "traefik.http.routers.connector.rule=PathPrefix(`/nngm-connector`)"
|
|
|
|
- "traefik.http.middlewares.connector_strip.stripprefix.prefixes=/nngm-connector"
|
2022-10-26 11:50:21 +02:00
|
|
|
- "traefik.http.services.connector.loadbalancer.server.port=8080"
|
|
|
|
- "traefik.http.routers.connector.tls=true"
|
2023-05-04 15:18:30 +02:00
|
|
|
- "traefik.http.routers.connector.middlewares=connector_strip,auth"
|
2022-10-26 11:50:21 +02:00
|
|
|
volumes:
|
2023-05-04 15:18:30 +02:00
|
|
|
- nngm-rest:/var/log
|
2022-10-26 11:50:21 +02:00
|
|
|
|