Allow mounting osn data to local
parent
456d2aede7
commit
c26e1dee94
|
@ -70,6 +70,7 @@ services:
|
||||||
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer0.example.com/msp:/etc/hyperledger/fabric/msp
|
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer0.example.com/msp:/etc/hyperledger/fabric/msp
|
||||||
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer0.example.com/tls/:/etc/hyperledger/fabric/tls
|
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer0.example.com/tls/:/etc/hyperledger/fabric/tls
|
||||||
- ./raft/channel-artifacts/orderer0.genesis.block:/etc/hyperledger/fabric/orderer.genesis.block
|
- ./raft/channel-artifacts/orderer0.genesis.block:/etc/hyperledger/fabric/orderer.genesis.block
|
||||||
|
#- ./volumes/orderer0:/var/hyperledger/production/orderer
|
||||||
command: orderer start
|
command: orderer start
|
||||||
|
|
||||||
orderer1.example.com: # There can be multiple orderers
|
orderer1.example.com: # There can be multiple orderers
|
||||||
|
@ -86,6 +87,7 @@ services:
|
||||||
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer1.example.com/msp:/etc/hyperledger/fabric/msp
|
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer1.example.com/msp:/etc/hyperledger/fabric/msp
|
||||||
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer1.example.com/tls/:/etc/hyperledger/fabric/tls
|
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer1.example.com/tls/:/etc/hyperledger/fabric/tls
|
||||||
- ./raft/channel-artifacts/orderer1.genesis.block:/etc/hyperledger/fabric/orderer.genesis.block
|
- ./raft/channel-artifacts/orderer1.genesis.block:/etc/hyperledger/fabric/orderer.genesis.block
|
||||||
|
#- ./volumes/orderer1:/var/hyperledger/production/orderer
|
||||||
command: orderer start
|
command: orderer start
|
||||||
|
|
||||||
orderer2.example.com: # There can be multiple orderers
|
orderer2.example.com: # There can be multiple orderers
|
||||||
|
@ -102,6 +104,7 @@ services:
|
||||||
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp:/etc/hyperledger/fabric/msp
|
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp:/etc/hyperledger/fabric/msp
|
||||||
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/:/etc/hyperledger/fabric/tls
|
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/:/etc/hyperledger/fabric/tls
|
||||||
- ./raft/channel-artifacts/orderer2.genesis.block:/etc/hyperledger/fabric/orderer.genesis.block
|
- ./raft/channel-artifacts/orderer2.genesis.block:/etc/hyperledger/fabric/orderer.genesis.block
|
||||||
|
#- ./volumes/orderer2:/var/hyperledger/production/orderer
|
||||||
command: orderer start
|
command: orderer start
|
||||||
|
|
||||||
## following are peer nodes ##
|
## following are peer nodes ##
|
||||||
|
|
|
@ -18,15 +18,15 @@ services:
|
||||||
# file: base-raft.yaml
|
# file: base-raft.yaml
|
||||||
# service: ca.org2.example.com
|
# service: ca.org2.example.com
|
||||||
|
|
||||||
sdk-node:
|
# sdk-node:
|
||||||
extends:
|
# extends:
|
||||||
file: base-raft.yaml
|
# file: base-raft.yaml
|
||||||
service: sdk-node
|
# service: sdk-node
|
||||||
|
|
||||||
gateway-java:
|
# gateway-java:
|
||||||
extends:
|
# extends:
|
||||||
file: base-raft.yaml
|
# file: base-raft.yaml
|
||||||
service: gateway-java
|
# service: gateway-java
|
||||||
|
|
||||||
cli:
|
cli:
|
||||||
extends:
|
extends:
|
||||||
|
|
|
@ -37,6 +37,9 @@ ORDERER0_ADMIN_MSP=/etc/hyperledger/fabric/crypto-config/ordererOrganizations/ex
|
||||||
ORDERER0_TLS_CA=/etc/hyperledger/fabric/crypto-config/ordererOrganizations/example.com/orderers/orderer0.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
|
ORDERER0_TLS_CA=/etc/hyperledger/fabric/crypto-config/ordererOrganizations/example.com/orderers/orderer0.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
|
||||||
ORDERER0_TLS_ROOTCERT=/etc/hyperledger/fabric/crypto-config/ordererOrganizations/example.com/orderers/orderer0.example.com/tls/ca.crt
|
ORDERER0_TLS_ROOTCERT=/etc/hyperledger/fabric/crypto-config/ordererOrganizations/example.com/orderers/orderer0.example.com/tls/ca.crt
|
||||||
|
|
||||||
|
ORDERER1_TLS_ROOTCERT=/etc/hyperledger/fabric/crypto-config/ordererOrganizations/example.com/orderers/orderer1.example.com/tls/ca.crt
|
||||||
|
ORDERER2_TLS_ROOTCERT=/etc/hyperledger/fabric/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/ca.crt
|
||||||
|
|
||||||
# Org1 related path
|
# Org1 related path
|
||||||
ORG1_ADMIN_MSP=/etc/hyperledger/fabric/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp
|
ORG1_ADMIN_MSP=/etc/hyperledger/fabric/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp
|
||||||
ORG1_PEER0_MSP=/etc/hyperledger/fabric/crypto-config/peerOrganizations/org1.example.com/peers/peer0.Org1.example.com/msp
|
ORG1_PEER0_MSP=/etc/hyperledger/fabric/crypto-config/peerOrganizations/org1.example.com/peers/peer0.Org1.example.com/msp
|
||||||
|
|
Loading…
Reference in New Issue