ORG4 docker

This commit is contained in:
Kurt Seifried 2021-03-10 11:18:02 -07:00
parent 312c4563a8
commit 07e3fcff04
No known key found for this signature in database
GPG key ID: F15CADC4A00F8174

View file

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