-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathdocker-compose.yaml
32 lines (30 loc) · 966 Bytes
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
version: '2'
services:
corda-driver:
image: ${DOCKER_IMAGE_NAME}:${DOCKER_TAG}
container_name: corda-driver-${NETWORK_NAME}
environment:
- DRIVER_PORT=${DRIVER_PORT}
- DRIVER_RPC_USERNAME=${DRIVER_RPC_USERNAME}
- DRIVER_RPC_PASSWORD=${DRIVER_RPC_PASSWORD}
- RELAY_TLS=${RELAY_TLS}
- RELAY_TLSCA_TRUST_STORE=${RELAY_TLSCA_TRUST_STORE}
- RELAY_TLSCA_TRUST_STORE_PASSWORD=${RELAY_TLSCA_TRUST_STORE_PASSWORD}
- RELAY_TLSCA_CERT_PATHS=${RELAY_TLSCA_CERT_PATHS}
- DRIVER_TLS=${DRIVER_TLS}
- DRIVER_TLS_CERT_PATH=${DRIVER_TLS_CERT_PATH}
- DRIVER_TLS_KEY_PATH=${DRIVER_TLS_KEY_PATH}
ports:
- "${DRIVER_PORT}:${DRIVER_PORT}"
volumes:
- ${TLS_CREDENTIALS_DIR}:/corda-driver/credentials
command: sh -c "./bin/corda-driver"
networks:
default:
external:
name: ${EXTERNAL_NETWORK}