Allow mounting osn data to local

pull/142/head
Baohua Yang 2022-07-11 15:57:35 -07:00
parent 456d2aede7
commit c26e1dee94
3 changed files with 14 additions and 8 deletions

View File

@ -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/tls/:/etc/hyperledger/fabric/tls
- ./raft/channel-artifacts/orderer0.genesis.block:/etc/hyperledger/fabric/orderer.genesis.block
#- ./volumes/orderer0:/var/hyperledger/production/orderer
command: orderer start
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/tls/:/etc/hyperledger/fabric/tls
- ./raft/channel-artifacts/orderer1.genesis.block:/etc/hyperledger/fabric/orderer.genesis.block
#- ./volumes/orderer1:/var/hyperledger/production/orderer
command: orderer start
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/tls/:/etc/hyperledger/fabric/tls
- ./raft/channel-artifacts/orderer2.genesis.block:/etc/hyperledger/fabric/orderer.genesis.block
#- ./volumes/orderer2:/var/hyperledger/production/orderer
command: orderer start
## following are peer nodes ##

View File

@ -18,15 +18,15 @@ services:
# file: base-raft.yaml
# service: ca.org2.example.com
sdk-node:
extends:
file: base-raft.yaml
service: sdk-node
# sdk-node:
# extends:
# file: base-raft.yaml
# service: sdk-node
gateway-java:
extends:
file: base-raft.yaml
service: gateway-java
# gateway-java:
# extends:
# file: base-raft.yaml
# service: gateway-java
cli:
extends:

View File

@ -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_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_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