bridgehead/bbmri/modules/dnpm-compose.yml

52 lines
1.9 KiB
YAML
Raw Normal View History

2023-05-10 12:54:05 +02:00
version: "3.7"
services:
dnpm-beam-proxy:
image: docker.verbis.dkfz.de/cache/samply/beam-proxy:develop
container_name: bridgehead-dnpm-beam-proxy
environment:
2023-05-15 13:43:01 +02:00
BROKER_URL: ${DNPM_BROKER_URL}
PROXY_ID: ${DNPM_PROXY_ID}
2023-06-28 11:48:47 +02:00
APP_dnpm-connect_KEY: ${DNPM_BEAM_SECRET_SHORT}
2023-05-10 12:54:05 +02:00
PRIVKEY_FILE: /run/secrets/proxy.pem
ALL_PROXY: http://forward_proxy:3128
TLS_CA_CERTIFICATES_DIR: /conf/trusted-ca-certs
ROOTCERT_FILE: /conf/root.crt.pem
secrets:
- proxy.pem
depends_on:
- "forward_proxy"
volumes:
- /etc/bridgehead/trusted-ca-certs:/conf/trusted-ca-certs:ro
2023-06-30 09:50:18 +02:00
- /srv/docker/bridgehead/ccp/root-new.crt.pem:/conf/root.crt.pem:ro
2023-05-10 12:54:05 +02:00
dnpm-beam-connect:
depends_on: [ dnpm-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://dnpm-beam-proxy:8081
PROXY_APIKEY: ${DNPM_BEAM_SECRET_SHORT}
2023-05-15 13:43:01 +02:00
APP_ID: dnpm-connect.${DNPM_PROXY_ID}
DISCOVERY_URL: "./conf/central_targets.json"
LOCAL_TARGETS_FILE: "./conf/connect_targets.json"
2023-05-10 12:54:05 +02:00
HTTP_PROXY: http://forward_proxy:3128
HTTPS_PROXY: http://forward_proxy:3128
NO_PROXY: dnpm-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"
secrets:
proxy.pem:
file: /etc/bridgehead/pki/${SITE_ID}.priv.pem