mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-19 08:15:08 +00:00
Move the Balance Transfer sample application from fabric-sdk-node to fabric-samples. This cr will add the files to the fabric-samples. There will another one to remove the files from fabric-sdk-node. Change-Id: I2344ee00bcd47793ae07f203070af93bc2ee69d6 Signed-off-by: Bret Harrison <beharrison@nc.rr.com>
113 lines
4.9 KiB
YAML
113 lines
4.9 KiB
YAML
#
|
|
# Copyright IBM Corp. All Rights Reserved.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# ---------------------------------------------------------------------------
|
|
# "OrdererOrgs" - Definition of organizations managing orderer nodes
|
|
# ---------------------------------------------------------------------------
|
|
OrdererOrgs:
|
|
# ---------------------------------------------------------------------------
|
|
# Orderer
|
|
# ---------------------------------------------------------------------------
|
|
- Name: Orderer
|
|
Domain: example.com
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# "Specs" - See PeerOrgs below for complete description
|
|
# ---------------------------------------------------------------------------
|
|
Specs:
|
|
- Hostname: orderer
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# "PeerOrgs" - Definition of organizations managing peer nodes
|
|
# ---------------------------------------------------------------------------
|
|
PeerOrgs:
|
|
# ---------------------------------------------------------------------------
|
|
# Org1
|
|
# ---------------------------------------------------------------------------
|
|
- Name: Org1
|
|
Domain: org1.example.com
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# "CA"
|
|
# ---------------------------------------------------------------------------
|
|
# Uncomment this section to enable the explicit definition of the CA for this
|
|
# organization. This entry is a Spec. See "Specs" section below for details.
|
|
# ---------------------------------------------------------------------------
|
|
CA:
|
|
Hostname: ca # implicitly ca.org1.example.com
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# "Specs"
|
|
# ---------------------------------------------------------------------------
|
|
# Uncomment this section to enable the explicit definition of hosts in your
|
|
# configuration. Most users will want to use Template, below
|
|
#
|
|
# Specs is an array of Spec entries. Each Spec entry consists of two fields:
|
|
# - Hostname: (Required) The desired hostname, sans the domain.
|
|
# - CommonName: (Optional) Specifies the template or explicit override for
|
|
# the CN. By default, this is the template:
|
|
#
|
|
# "{{.Hostname}}.{{.Domain}}"
|
|
#
|
|
# which obtains its values from the Spec.Hostname and
|
|
# Org.Domain, respectively.
|
|
# - SANS: (Optional) Specifies one or more Subject Alternative Names
|
|
# the be set in the resulting x509. Accepts template
|
|
# variables {{.Hostname}}, {{.Domain}}, {{.CommonName}}
|
|
# NOTE: Two implicit entries are created for you:
|
|
# - {{ .CommonName }}
|
|
# - {{ .Hostname }}
|
|
# ---------------------------------------------------------------------------
|
|
# Specs:
|
|
# - Hostname: foo # implicitly "foo.org1.example.com"
|
|
# CommonName: foo27.org5.example.com # overrides Hostname-based FQDN set above
|
|
# SANS:
|
|
# - "bar.{{.Domain}}"
|
|
# - "altfoo.{{.Domain}}"
|
|
# - "{{.Hostname}}.org6.net"
|
|
# - Hostname: bar
|
|
# - Hostname: baz
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# "Template"
|
|
# ---------------------------------------------------------------------------
|
|
# Allows for the definition of 1 or more hosts that are created sequentially
|
|
# from a template. By default, this looks like "peer%d" from 0 to Count-1.
|
|
# You may override the number of nodes (Count), the starting index (Start)
|
|
# or the template used to construct the name (Hostname).
|
|
#
|
|
# Note: Template and Specs are not mutually exclusive. You may define both
|
|
# sections and the aggregate nodes will be created for you. Take care with
|
|
# name collisions
|
|
# ---------------------------------------------------------------------------
|
|
Template:
|
|
Count: 2
|
|
# Start: 5
|
|
# Hostname: {{.Prefix}}{{.Index}} # default
|
|
SANS:
|
|
- "localhost"
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# "Users"
|
|
# ---------------------------------------------------------------------------
|
|
# Count: The number of user accounts _in addition_ to Admin
|
|
# ---------------------------------------------------------------------------
|
|
Users:
|
|
Count: 1
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Org2: See "Org1" for full specification
|
|
# ---------------------------------------------------------------------------
|
|
- Name: Org2
|
|
Domain: org2.example.com
|
|
CA:
|
|
Hostname: ca # implicitly ca.org1.example.com
|
|
|
|
Template:
|
|
Count: 2
|
|
SANS:
|
|
- "localhost"
|
|
Users:
|
|
Count: 1
|