-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathkube.yaml
39 lines (39 loc) · 976 Bytes
/
kube.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
apiVersion: v1
kind: Pod
metadata:
name: easydoser
labels:
app: server
spec:
hostNetwork: true
containers:
- name: server
imagePullPolicy: Always
image: abhimanyu121/easydoser:server-latest
volumeMounts:
- mountPath: /config
name: config
- mountPath: /mspconfig
name: mspconfig
env:
- name: CORE_PEER_MSPCONFIGPATH
value: /mspconfig
- name: FABRIC_CFG_PATH
value: /config
- name: FABRIC
value: /server/bin
- name: web
imagePullPolicy: Always
image: abhimanyu121/easydoser:web-latest
ports:
- containerPort: 8080
- containerPort: 5000
volumes:
- name: mspconfig
hostPath:
path: /data/test-network/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp
type: Directory
- name: config
hostPath:
path: /data/config
type: Directory