fabric-samples/test-network/addOrg4/docker/docker-compose-ca-org4.yaml
2021-03-15 12:35:03 -06:00

27 lines
639 B
YAML

# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
version: '2'
networks:
test:
name: fabric_test
services:
ca_org4:
image: hyperledger/fabric-ca:latest
labels:
service: hyperledger-fabric
environment:
- FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server
- FABRIC_CA_SERVER_CA_NAME=ca-org4
- FABRIC_CA_SERVER_TLS_ENABLED=true
- FABRIC_CA_SERVER_PORT=13054
ports:
- "13054:13054"
command: sh -c 'fabric-ca-server start -b admin:adminpw -d'
volumes:
- ../fabric-ca/org4:/etc/hyperledger/fabric-ca-server
container_name: ca_org4