mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-26 03:25:09 +00:00
ORG4 docker
This commit is contained in:
parent
312c4563a8
commit
07e3fcff04
1 changed files with 15 additions and 15 deletions
|
|
@ -6,7 +6,7 @@
|
|||
version: '2'
|
||||
|
||||
volumes:
|
||||
peer0.org3.example.com:
|
||||
peer0.org4.example.com:
|
||||
|
||||
networks:
|
||||
test:
|
||||
|
|
@ -14,8 +14,8 @@ networks:
|
|||
|
||||
services:
|
||||
|
||||
peer0.org3.example.com:
|
||||
container_name: peer0.org3.example.com
|
||||
peer0.org4.example.com:
|
||||
container_name: peer0.org4.example.com
|
||||
image: hyperledger/fabric-peer:latest
|
||||
labels:
|
||||
service: hyperledger-fabric
|
||||
|
|
@ -31,22 +31,22 @@ services:
|
|||
- CORE_PEER_TLS_KEY_FILE=/etc/hyperledger/fabric/tls/server.key
|
||||
- CORE_PEER_TLS_ROOTCERT_FILE=/etc/hyperledger/fabric/tls/ca.crt
|
||||
# Peer specific variabes
|
||||
- CORE_PEER_ID=peer0.org3.example.com
|
||||
- CORE_PEER_ADDRESS=peer0.org3.example.com:11051
|
||||
- CORE_PEER_LISTENADDRESS=0.0.0.0:11051
|
||||
- CORE_PEER_CHAINCODEADDRESS=peer0.org3.example.com:11052
|
||||
- CORE_PEER_CHAINCODELISTENADDRESS=0.0.0.0:11052
|
||||
- CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org3.example.com:11051
|
||||
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org3.example.com:11051
|
||||
- CORE_PEER_LOCALMSPID=Org3MSP
|
||||
- CORE_PEER_ID=peer0.org4.example.com
|
||||
- CORE_PEER_ADDRESS=peer0.org4.example.com:13051
|
||||
- CORE_PEER_LISTENADDRESS=0.0.0.0:13051
|
||||
- CORE_PEER_CHAINCODEADDRESS=peer0.org4.example.com:13052
|
||||
- CORE_PEER_CHAINCODELISTENADDRESS=0.0.0.0:13052
|
||||
- CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org4.example.com:13051
|
||||
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org4.example.com:13051
|
||||
- CORE_PEER_LOCALMSPID=Org4MSP
|
||||
volumes:
|
||||
- /var/run/docker.sock:/host/var/run/docker.sock
|
||||
- ../../organizations/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/msp:/etc/hyperledger/fabric/msp
|
||||
- ../../organizations/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls:/etc/hyperledger/fabric/tls
|
||||
- peer0.org3.example.com:/var/hyperledger/production
|
||||
- ../../organizations/peerOrganizations/org4.example.com/peers/peer0.org4.example.com/msp:/etc/hyperledger/fabric/msp
|
||||
- ../../organizations/peerOrganizations/org4.example.com/peers/peer0.org4.example.com/tls:/etc/hyperledger/fabric/tls
|
||||
- peer0.ca_org4.example.com:/var/hyperledger/production
|
||||
working_dir: /opt/gopath/src/github.com/hyperledger/fabric/peer
|
||||
command: peer node start
|
||||
ports:
|
||||
- 11051:11051
|
||||
- 13051:13051
|
||||
networks:
|
||||
- test
|
||||
|
|
|
|||
Loading…
Reference in a new issue