2023-05-10 12:54:05 +02:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
beam-proxy:
|
|
|
|
environment:
|
2023-06-28 11:48:47 +02:00
|
|
|
APP_dnpm-connect_KEY: ${DNPM_BEAM_SECRET_SHORT}
|
2023-05-10 12:54:05 +02:00
|
|
|
dnpm-beam-connect:
|
|
|
|
depends_on: [ beam-proxy ]
|
2023-08-24 14:22:43 +02:00
|
|
|
image: docker.verbis.dkfz.de/cache/samply/beam-connect:develop
|
2023-05-17 12:04:35 +02:00
|
|
|
container_name: bridgehead-dnpm-beam-connect
|
2023-05-10 12:54:05 +02:00
|
|
|
environment:
|
|
|
|
PROXY_URL: http://beam-proxy:8081
|
|
|
|
PROXY_APIKEY: ${DNPM_BEAM_SECRET_SHORT}
|
|
|
|
APP_ID: dnpm-connect.${PROXY_ID}
|
2023-05-15 13:43:01 +02:00
|
|
|
DISCOVERY_URL: "./conf/central_targets.json"
|
|
|
|
LOCAL_TARGETS_FILE: "./conf/connect_targets.json"
|
|
|
|
HTTP_PROXY: "http://forward_proxy:3128"
|
|
|
|
HTTPS_PROXY: "http://forward_proxy:3128"
|
2023-05-10 12:54:05 +02:00
|
|
|
NO_PROXY: beam-proxy,dnpm-backend
|
|
|
|
RUST_LOG: ${RUST_LOG:-info}
|
2023-08-24 14:22:43 +02:00
|
|
|
NO_AUTH: true
|
2023-05-10 12:54:05 +02:00
|
|
|
volumes:
|
|
|
|
- /etc/bridgehead/dnpm/local_targets.json:/conf/connect_targets.json:ro
|
2023-05-15 13:43:01 +02:00
|
|
|
- /etc/bridgehead/dnpm/central_targets.json:/conf/central_targets.json:ro
|
2023-05-10 12:54:05 +02:00
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.dnpm-connect.rule=PathPrefix(`/dnpm-connect`)"
|
2023-06-30 08:02:32 +02:00
|
|
|
- "traefik.http.middlewares.dnpm-connect-strip.stripprefix.prefixes=/dnpm-connect"
|
|
|
|
- "traefik.http.routers.dnpm-connect.middlewares=dnpm-connect-strip"
|
2023-05-10 12:54:05 +02:00
|
|
|
- "traefik.http.services.dnpm-connect.loadbalancer.server.port=8062"
|
|
|
|
- "traefik.http.routers.dnpm-connect.tls=true"
|