-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathcompose.certs.yaml
More file actions
23 lines (21 loc) · 958 Bytes
/
compose.certs.yaml
File metadata and controls
23 lines (21 loc) · 958 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description
# - This file augments the deployment of the ATT&CK Workbench by configuring the REST API container
# - with an additional certificate.
# - This is recommended for deployments where the REST API container is behind a firewall that performs
# SSL inspection. The additional certificate allows the REST API collection management to retrieve
# Collection Indexes and Collection bundles without receiving a self-signed certificate error.
# Usage
# This file must be used in conjunction with the main compose.yaml file.
#
# Environment Variables
# HOST_CERTS_PATH: path to the directory on the host where the certificate file is located
# CERTS_FILENAME: name of the certificate file
#
# Running docker compose at the command line:
# docker compose -f compose.yaml -f compose.certs.yaml up
services:
rest-api:
volumes:
- .${HOST_CERTS_PATH}:/usr/src/app/certs
environment:
- NODE_EXTRA_CA_CERTS=./certs/${CERTS_FILENAME}