forked from hyperledger-archives/fabric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose-consensus-4.yml
executable file
·66 lines (58 loc) · 1.84 KB
/
compose-consensus-4.yml
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
obcca:
image: obcca
environment:
- OPENCHAIN_VM_ENDPOINT=http://172.17.0.1:4243
command: obc-ca
cli:
image: openchain-peer
command: ./infiniteloop.sh
environment:
- OPENCHAIN_VM_ENDPOINT=http://172.17.0.1:4243
- OPENCHAIN_PEER_ADDRESSAUTODETECT=true
- OPENCHAIN_SECURITY_ENABLED=true
vp0:
extends:
file: compose-consensus-4-defaults.yml
service: vp
environment:
- OPENCHAIN_PEER_ID=vp0
- OPENCHAIN_OBCPBFT_GENERAL_N=4
- OPENCHAIN_PEER_VALIDATOR_REPLICAS_IPS=vp0:30303 vp1:30303 vp2:30303 vp3:30303
- OPENCHAIN_SECURITY_ENROLLID=test_vp0
- OPENCHAIN_SECURITY_ENROLLSECRET=MwYpmSRjupbT
- OPENCHAIN_PEER_PKI_ECA_PADDR=obcca:50051
- OPENCHAIN_PEER_PKI_TCA_PADDR=obcca:50051
- OPENCHAIN_PEER_PKI_TLSCA_PADDR=obcca:50051
vp1:
extends:
service: vp0
environment:
- OPENCHAIN_PEER_ID=vp1
- OPENCHAIN_PEER_DISCOVERY_ROOTNODE=vp0:30303
- OPENCHAIN_SECURITY_ENROLLID=test_vp1
- OPENCHAIN_SECURITY_ENROLLSECRET=5wgHK9qqYaPy
- OPENCHAIN_PEER_PKI_ECA_PADDR=obcca:50051
- OPENCHAIN_PEER_PKI_TCA_PADDR=obcca:50051
- OPENCHAIN_PEER_PKI_TLSCA_PADDR=obcca:50051
vp2:
extends:
service: vp0
environment:
- OPENCHAIN_PEER_ID=vp2
- OPENCHAIN_PEER_DISCOVERY_ROOTNODE=vp0:30303
- OPENCHAIN_SECURITY_ENROLLID=test_vp2
- OPENCHAIN_SECURITY_ENROLLSECRET=vQelbRvja7cJ
- OPENCHAIN_PEER_PKI_ECA_PADDR=obcca:50051
- OPENCHAIN_PEER_PKI_TCA_PADDR=obcca:50051
- OPENCHAIN_PEER_PKI_TLSCA_PADDR=obcca:50051
vp3:
extends:
service: vp0
environment:
- OPENCHAIN_PEER_ID=vp3
- OPENCHAIN_PEER_DISCOVERY_ROOTNODE=vp0:30303
- OPENCHAIN_SECURITY_ENROLLID=test_vp3
- OPENCHAIN_SECURITY_ENROLLSECRET=9LKqKH5peurL
- OPENCHAIN_PEER_PKI_ECA_PADDR=obcca:50051
- OPENCHAIN_PEER_PKI_TCA_PADDR=obcca:50051
- OPENCHAIN_PEER_PKI_TLSCA_PADDR=obcca:50051