mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-21 17:15:10 +00:00
Merge "[FAB-6895] chaincode mounting issue"
This commit is contained in:
commit
04320ab199
2 changed files with 3 additions and 3 deletions
|
|
@ -70,7 +70,7 @@ services:
|
||||||
command: /bin/bash -c './scripts/script.sh ${CHANNEL_NAME} ${DELAY} ${LANG}; sleep $TIMEOUT'
|
command: /bin/bash -c './scripts/script.sh ${CHANNEL_NAME} ${DELAY} ${LANG}; sleep $TIMEOUT'
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/:/host/var/run/
|
- /var/run/:/host/var/run/
|
||||||
- ./../chaincode/:/opt/gopath/src/github.com/
|
- ./../chaincode/:/opt/gopath/src/github.com/chaincode
|
||||||
- ./crypto-config:/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/
|
- ./crypto-config:/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/
|
||||||
- ./scripts:/opt/gopath/src/github.com/hyperledger/fabric/peer/scripts/
|
- ./scripts:/opt/gopath/src/github.com/hyperledger/fabric/peer/scripts/
|
||||||
- ./channel-artifacts:/opt/gopath/src/github.com/hyperledger/fabric/peer/channel-artifacts
|
- ./channel-artifacts:/opt/gopath/src/github.com/hyperledger/fabric/peer/channel-artifacts
|
||||||
|
|
|
||||||
|
|
@ -20,9 +20,9 @@ COUNTER=1
|
||||||
MAX_RETRY=5
|
MAX_RETRY=5
|
||||||
ORDERER_CA=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
|
ORDERER_CA=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
|
||||||
|
|
||||||
CC_SRC_PATH="github.com/chaincode_example02/go/"
|
CC_SRC_PATH="github.com/chaincode/chaincode_example02/go/"
|
||||||
if [ "$LANGUAGE" = "node" ]; then
|
if [ "$LANGUAGE" = "node" ]; then
|
||||||
CC_SRC_PATH="/opt/gopath/src/github.com/chaincode_example02/node/"
|
CC_SRC_PATH="/opt/gopath/src/github.com/chaincode/chaincode_example02/node/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Channel name : "$CHANNEL_NAME
|
echo "Channel name : "$CHANNEL_NAME
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue