-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yaml
132 lines (124 loc) · 5.02 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
version: '2'
networks:
hf-exp:
services:
peer0.org1.ksachdeva-exp.com:
container_name: peer0.org1.ksachdeva-exp.com
extends:
file: docker-peer-base.yaml
service: peer-base
environment:
- CORE_PEER_ID=peer0.org1.ksachdeva-exp.com
- CORE_PEER_ADDRESS=peer0.org1.ksachdeva-exp.com:7051
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.ksachdeva-exp.com:7051
- CORE_PEER_LOCALMSPID=Org1MSP
volumes:
- /var/run/:/host/var/run/
- ./production/org1-peer0:/var/hyperledger/production
- ./crypto-config/peerOrganizations/org1.ksachdeva-exp.com/peers/peer0.org1.ksachdeva-exp.com/msp:/etc/hyperledger/fabric/msp
- ./crypto-config/peerOrganizations/org1.ksachdeva-exp.com/peers/peer0.org1.ksachdeva-exp.com/tls:/etc/hyperledger/fabric/tls
ports:
- 7051:7051
- 7053:7053
networks:
- hf-exp
peer1.org1.ksachdeva-exp.com:
container_name: peer1.org1.ksachdeva-exp.com
extends:
file: docker-peer-base.yaml
service: peer-base
environment:
- CORE_PEER_ID=peer1.org1.ksachdeva-exp.com
- CORE_PEER_ADDRESS=peer1.org1.ksachdeva-exp.com:7051
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer1.org1.ksachdeva-exp.com:7051
- CORE_PEER_LOCALMSPID=Org1MSP
volumes:
- /var/run/:/host/var/run/
- ./production/org1-peer1:/var/hyperledger/production
- ./crypto-config/peerOrganizations/org1.ksachdeva-exp.com/peers/peer1.org1.ksachdeva-exp.com/msp:/etc/hyperledger/fabric/msp
- ./crypto-config/peerOrganizations/org1.ksachdeva-exp.com/peers/peer1.org1.ksachdeva-exp.com/tls:/etc/hyperledger/fabric/tls
ports:
- 8051:7051
- 8053:7053
networks:
- hf-exp
peer0.org2.ksachdeva-exp.com:
container_name: peer0.org2.ksachdeva-exp.com
extends:
file: docker-peer-base.yaml
service: peer-base
environment:
- CORE_PEER_ID=peer0.org2.ksachdeva-exp.com
- CORE_PEER_ADDRESS=peer0.org2.ksachdeva-exp.com:7051
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org2.ksachdeva-exp.com:7051
- CORE_PEER_LOCALMSPID=Org2MSP
volumes:
- /var/run/:/host/var/run/
- ./production/org2-peer0:/var/hyperledger/production
- ./crypto-config/peerOrganizations/org2.ksachdeva-exp.com/peers/peer0.org2.ksachdeva-exp.com/msp:/etc/hyperledger/fabric/msp
- ./crypto-config/peerOrganizations/org2.ksachdeva-exp.com/peers/peer0.org2.ksachdeva-exp.com/tls:/etc/hyperledger/fabric/tls
ports:
- 9051:7051
- 9053:7053
networks:
- hf-exp
peer1.org2.ksachdeva-exp.com:
container_name: peer1.org2.ksachdeva-exp.com
extends:
file: docker-peer-base.yaml
service: peer-base
environment:
- CORE_PEER_ID=peer1.org2.ksachdeva-exp.com
- CORE_PEER_ADDRESS=peer1.org2.ksachdeva-exp.com:7051
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer1.org2.ksachdeva-exp.com:7051
- CORE_PEER_LOCALMSPID=Org2MSP
volumes:
- /var/run/:/host/var/run/
- ./production/org2-peer1:/var/hyperledger/production
- ./crypto-config/peerOrganizations/org2.ksachdeva-exp.com/peers/peer1.org2.ksachdeva-exp.com/msp:/etc/hyperledger/fabric/msp
- ./crypto-config/peerOrganizations/org2.ksachdeva-exp.com/peers/peer1.org2.ksachdeva-exp.com/tls:/etc/hyperledger/fabric/tls
ports:
- 10051:7051
- 10053:7053
networks:
- hf-exp
peer0.org3.ksachdeva-exp.com:
container_name: peer0.org3.ksachdeva-exp.com
extends:
file: docker-peer-base.yaml
service: peer-base
environment:
- CORE_PEER_ID=peer0.org3.ksachdeva-exp.com
- CORE_PEER_ADDRESS=peer0.org3.ksachdeva-exp.com:7051
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org3.ksachdeva-exp.com:7051
- CORE_PEER_LOCALMSPID=Org3MSP
volumes:
- /var/run/:/host/var/run/
- ./production/org3-peer0:/var/hyperledger/production
- ./crypto-config/peerOrganizations/org3.ksachdeva-exp.com/peers/peer0.org3.ksachdeva-exp.com/msp:/etc/hyperledger/fabric/msp
- ./crypto-config/peerOrganizations/org3.ksachdeva-exp.com/peers/peer0.org3.ksachdeva-exp.com/tls:/etc/hyperledger/fabric/tls
ports:
- 11051:7051
- 11053:7053
networks:
- hf-exp
peer1.org3.ksachdeva-exp.com:
container_name: peer1.org3.ksachdeva-exp.com
extends:
file: docker-peer-base.yaml
service: peer-base
environment:
- CORE_PEER_ID=peer1.org3.ksachdeva-exp.com
- CORE_PEER_ADDRESS=peer1.org3.ksachdeva-exp.com:7051
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer1.org3.ksachdeva-exp.com:7051
- CORE_PEER_LOCALMSPID=Org3MSP
volumes:
- /var/run/:/host/var/run/
- ./production/org3-peer2:/var/hyperledger/production
- ./crypto-config/peerOrganizations/org3.ksachdeva-exp.com/peers/peer1.org3.ksachdeva-exp.com/msp:/etc/hyperledger/fabric/msp
- ./crypto-config/peerOrganizations/org3.ksachdeva-exp.com/peers/peer1.org3.ksachdeva-exp.com/tls:/etc/hyperledger/fabric/tls
ports:
- 12051:7051
- 12053:7053
networks:
- hf-exp