-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
executable file
·67 lines (65 loc) · 1.57 KB
/
docker-compose.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
67
membersrvc:
image: hyperledger/fabric-membersrvc:x86_64-0.6.1-preview
ports:
- "7054:7054"
environment:
- MEMBERSRVC_CA_ACA_ENABLED=true
- MEMBERSRVC_LOGGING_LEVEL=DEBUG
# volumes:
# - ./blockchain/membersrvc.yaml:/opt/gopath/src/github.com/hyperledger/fabric/membersrvc/membersrvc.0.6.yaml
command: membersrvc
vp0:
extends:
file: compose-defaults.yml
service: vp
ports:
- "7050:7050"
- "7051:7051"
- "7053:7053"
environment:
- CORE_PEER_ID=vp0
- CORE_PEER_DISCOVERY_PERIOD=1s
- CORE_PEER_DISCOVERY_TOUCHPERIOD=1s
- CORE_SECURITY_ENROLLID=test_vp0
- CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT
links:
- membersrvc
#vp1:
# extends:
# file: compose-defaults.yml
# service: vp
# environment:
# - CORE_PEER_ID=vp1
# - CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051
# - CORE_SECURITY_ENROLLID=test_vp1
# - CORE_SECURITY_ENROLLSECRET=5wgHK9qqYaPy
# links:
# - vp0
# - membersrvc
#
# activate for testing in a simulated bluemix blockchain service environment
#vp2:
# extends:
# file: compose-defaults.yml
# service: vp
# environment:
# - CORE_PEER_ID=vp2
# - CORE_PEER_DISCOVERY_ROOTNODE=vp1:7051
# - CORE_SECURITY_ENROLLID=test_vp2
# - CORE_SECURITY_ENROLLSECRET=vQelbRvja7cJ
# links:
# - vp1
# - membersrvc
#
#vp3:
# extends:
# file: compose-defaults.yml
# service: vp
# environment:
# - CORE_PEER_ID=vp3
# - CORE_PEER_DISCOVERY_ROOTNODE=vp2:7051
# - CORE_SECURITY_ENROLLID=test_vp3
# - CORE_SECURITY_ENROLLSECRET=9LKqKH5peurL
# links:
# - vp2
# - membersrvc