From 3f6e3a2bb4d853d7641c23004615db0c4aea8867 Mon Sep 17 00:00:00 2001 From: Tobias Kussel Date: Thu, 22 Feb 2024 15:41:11 +0000 Subject: [PATCH] mount and process trusted certs in dnpm-beam-connect --- ccp/modules/dnpm-compose.yml | 2 ++ minimal/modules/dnpm-compose.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ccp/modules/dnpm-compose.yml b/ccp/modules/dnpm-compose.yml index a4ab611..1a165c4 100644 --- a/ccp/modules/dnpm-compose.yml +++ b/ccp/modules/dnpm-compose.yml @@ -19,9 +19,11 @@ services: NO_PROXY: beam-proxy,dnpm-backend,host.docker.internal RUST_LOG: ${RUST_LOG:-info} NO_AUTH: "true" + TLS_CA_CERTIFICATES_DIR: ./conf/trusted-ca-certs extra_hosts: - "host.docker.internal:host-gateway" volumes: + - /etc/bridgehead/trusted-ca-certs:/conf/trusted-ca-certs:ro - /etc/bridgehead/dnpm/local_targets.json:/conf/connect_targets.json:ro - /etc/bridgehead/dnpm/central_targets.json:/conf/central_targets.json:ro labels: diff --git a/minimal/modules/dnpm-compose.yml b/minimal/modules/dnpm-compose.yml index 083dd58..1aed690 100644 --- a/minimal/modules/dnpm-compose.yml +++ b/minimal/modules/dnpm-compose.yml @@ -35,9 +35,11 @@ services: NO_PROXY: dnpm-beam-proxy,dnpm-backend, host.docker.internal RUST_LOG: ${RUST_LOG:-info} NO_AUTH: "true" + TLS_CA_CERTIFICATES_DIR: ./conf/trusted-ca-certs extra_hosts: - "host.docker.internal:host-gateway" volumes: + - /etc/bridgehead/trusted-ca-certs:/conf/trusted-ca-certs:ro - /etc/bridgehead/dnpm/local_targets.json:/conf/connect_targets.json:ro - /etc/bridgehead/dnpm/central_targets.json:/conf/central_targets.json:ro labels: