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'
|
version: '2'
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
peer0.org3.example.com:
|
peer0.org4.example.com:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
test:
|
test:
|
||||||
|
|
@ -14,8 +14,8 @@ networks:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
peer0.org3.example.com:
|
peer0.org4.example.com:
|
||||||
container_name: peer0.org3.example.com
|
container_name: peer0.org4.example.com
|
||||||
image: hyperledger/fabric-peer:latest
|
image: hyperledger/fabric-peer:latest
|
||||||
labels:
|
labels:
|
||||||
service: hyperledger-fabric
|
service: hyperledger-fabric
|
||||||
|
|
@ -31,22 +31,22 @@ services:
|
||||||
- CORE_PEER_TLS_KEY_FILE=/etc/hyperledger/fabric/tls/server.key
|
- CORE_PEER_TLS_KEY_FILE=/etc/hyperledger/fabric/tls/server.key
|
||||||
- CORE_PEER_TLS_ROOTCERT_FILE=/etc/hyperledger/fabric/tls/ca.crt
|
- CORE_PEER_TLS_ROOTCERT_FILE=/etc/hyperledger/fabric/tls/ca.crt
|
||||||
# Peer specific variabes
|
# Peer specific variabes
|
||||||
- CORE_PEER_ID=peer0.org3.example.com
|
- CORE_PEER_ID=peer0.org4.example.com
|
||||||
- CORE_PEER_ADDRESS=peer0.org3.example.com:11051
|
- CORE_PEER_ADDRESS=peer0.org4.example.com:13051
|
||||||
- CORE_PEER_LISTENADDRESS=0.0.0.0:11051
|
- CORE_PEER_LISTENADDRESS=0.0.0.0:13051
|
||||||
- CORE_PEER_CHAINCODEADDRESS=peer0.org3.example.com:11052
|
- CORE_PEER_CHAINCODEADDRESS=peer0.org4.example.com:13052
|
||||||
- CORE_PEER_CHAINCODELISTENADDRESS=0.0.0.0:11052
|
- CORE_PEER_CHAINCODELISTENADDRESS=0.0.0.0:13052
|
||||||
- CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org3.example.com:11051
|
- CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org4.example.com:13051
|
||||||
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org3.example.com:11051
|
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org4.example.com:13051
|
||||||
- CORE_PEER_LOCALMSPID=Org3MSP
|
- CORE_PEER_LOCALMSPID=Org4MSP
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/host/var/run/docker.sock
|
- /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/org4.example.com/peers/peer0.org4.example.com/msp:/etc/hyperledger/fabric/msp
|
||||||
- ../../organizations/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls:/etc/hyperledger/fabric/tls
|
- ../../organizations/peerOrganizations/org4.example.com/peers/peer0.org4.example.com/tls:/etc/hyperledger/fabric/tls
|
||||||
- peer0.org3.example.com:/var/hyperledger/production
|
- peer0.ca_org4.example.com:/var/hyperledger/production
|
||||||
working_dir: /opt/gopath/src/github.com/hyperledger/fabric/peer
|
working_dir: /opt/gopath/src/github.com/hyperledger/fabric/peer
|
||||||
command: peer node start
|
command: peer node start
|
||||||
ports:
|
ports:
|
||||||
- 11051:11051
|
- 13051:13051
|
||||||
networks:
|
networks:
|
||||||
- test
|
- test
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue