-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathfabric-peer0-org2.yaml
123 lines (123 loc) · 3.86 KB
/
fabric-peer0-org2.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
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: ./kompose convert -f docker-compose-e2e.yaml
kompose.version: 1.12.0 (0ab07be)
creationTimestamp: null
labels:
io.kompose.service: fabric-peer0-org2
name: fabric-peer0-org2
spec:
ports:
- name: "7051"
port: 7051
targetPort: 7051
- name: "7052"
port: 7052
targetPort: 7052
- name: "7053"
port: 7053
targetPort: 7053
selector:
io.kompose.service: fabric-peer0-org2
status:
loadBalancer: {}
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
kompose.cmd: ./kompose convert -f docker-compose-e2e.yaml
kompose.version: 1.12.0 (0ab07be)
creationTimestamp: null
labels:
io.kompose.service: fabric-peer0-org2
name: fabric-peer0-org2
spec:
replicas: 1
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: fabric-peer0-org2
spec:
containers:
- args:
- peer
- node
- start
env:
- name: CORE_LOGGING_LEVEL
value: "DEBUG"
- name: CORE_PEER_ADDRESS
value: "peer0.org2.kopernik.ibm.org:7051"
- name: CORE_PEER_CHAINCODEADDRESS
value: "peer0.org2.kopernik.ibm.org:7052"
- name: CORE_PEER_CHAINCODELISTENADDRESS
value: "0.0.0.0:7052"
- name: CORE_PEER_GOSSIP_EXTERNALENDPOINT
value: "peer0.org2.kopernik.ibm.org:7051"
- name: CORE_PEER_GOSSIP_ORGLEADER
value: "false"
- name: CORE_PEER_GOSSIP_USELEADERELECTION
value: "true"
- name: CORE_PEER_ID
value: "peer0.org2.kopernik.ibm.org"
- name: CORE_PEER_LOCALMSPID
value: "Org2MSP"
- name: CORE_PEER_PROFILE_ENABLED
value: "true"
- name: CORE_PEER_TLS_ENABLED
value: "true"
- name: CORE_CHAINCODE_LOGGING_LEVEL
value: "DEBUG"
- name: CORE_VM_DOCKER_HOSTCONFIG_DNS
value: "10.96.0.10"
- name: CORE_VM_DOCKER_ATTACHSTDOUT
value: "true"
- name: CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE
value: bridge
- name: CORE_VM_ENDPOINT
value: unix:///host/var/run/docker.sock
- name: CORE_PEER_TLS_CERT_FILE
value: /etc/hyperledger/fabric/tls/server.crt
- name: CORE_PEER_TLS_KEY_FILE
value: /etc/hyperledger/fabric/tls/server.key
- name: CORE_PEER_TLS_ROOTCERT_FILE
value: /etc/hyperledger/fabric/tls/ca.crt
- name: CORE_LEDGER_STATE_STATEDATABASE
value: "CouchDB"
- name: CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS
value: "fabric-couchdb-03:5984"
image: hyperledger/fabric-peer
imagePullPolicy: Never
name: fabric-peer0-org2
ports:
- containerPort: 7051
- containerPort: 7052
- containerPort: 7053
resources: {}
volumeMounts:
- mountPath: /host/var/run/docker.sock
name: fabric-peer0-org2-claim0
- mountPath: /etc/hyperledger/fabric/msp
name: fabric-peer0-org2-claim1
- mountPath: /etc/hyperledger/fabric/tls
name: fabric-peer0-org2-claim2
workingDir: /opt/gopath/src/github.com/hyperledger/fabric/peer
dnsConfig:
options:
- name: ndots
value: "1"
volumes:
- name: fabric-peer0-org2-claim0
hostPath:
path: /var/run/docker.sock
- name: fabric-peer0-org2-claim1
hostPath:
path: /home/hlbcadmin/Downloads/mysolution/fabric-e2e-custom/crypto-config/peerOrganizations/org2.kopernik.ibm.org/peers/peer0.org2.kopernik.ibm.org/msp
- name: fabric-peer0-org2-claim2
hostPath:
path: /home/hlbcadmin/Downloads/mysolution/fabric-e2e-custom/crypto-config/peerOrganizations/org2.kopernik.ibm.org/peers/peer0.org2.kopernik.ibm.org/tls
status: {}