mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
The version element is obsolete and unused since Compose v1 was deprecated in favour of Compose v2 in 2022, and reached end-of-life in 2023. The version element generates warning messages running Docker Compose commands when bringing up and down the test-network, which adds unnecessary noise and can be confusing for users. Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
25 lines
625 B
YAML
25 lines
625 B
YAML
# Copyright IBM Corp. All Rights Reserved.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
networks:
|
|
test:
|
|
name: fabric_test
|
|
|
|
services:
|
|
ca_org3:
|
|
image: hyperledger/fabric-ca:latest
|
|
labels:
|
|
service: hyperledger-fabric
|
|
environment:
|
|
- FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server
|
|
- FABRIC_CA_SERVER_CA_NAME=ca-org3
|
|
- FABRIC_CA_SERVER_TLS_ENABLED=true
|
|
- FABRIC_CA_SERVER_PORT=11054
|
|
ports:
|
|
- "11054:11054"
|
|
command: sh -c 'fabric-ca-server start -b admin:adminpw -d'
|
|
volumes:
|
|
- ../fabric-ca/org3:/etc/hyperledger/fabric-ca-server
|
|
container_name: ca_org3
|