-
Notifications
You must be signed in to change notification settings - Fork 0
/
k8s-config.yaml
63 lines (63 loc) · 1.73 KB
/
k8s-config.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
# Frontend Deployment (Pod)
apiVersion: apps/v1
kind: Deployment
metadata:
name: capture-the-block
namespace: default
labels:
app: capture-the-block
spec:
replicas: 1
selector:
matchLabels:
app: capture-the-block
# Pod template
template:
metadata:
labels:
app: capture-the-block
spec:
containers:
- name: capture-the-block
image: yodascholtz/capture-the-block:latest
imagePullPolicy: Always
ports:
- containerPort: 80
env:
- name: APP_NAME
value: "capture-the-block"
- name: APP_SCHEMA
value: "https" # Check this
- name: APP_HOST
value: "0.0.0.0"
- name: APP_PORT
value: "3000"
- name: MAINNET_DAI_ADDRESS
value: "0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359"
- name: MAINNET_CAPTURE_THE_BLOCK_CONTRACT_ADDRESS
value: "0x1c6b164beaa441b182ec366c461cd84c9137fe90"
- name: RINKEBY_DAI_ADDRESS
value: "0x4d87A619499b754CecB135671ED7Eb5F5071245A"
- name: RINKEBY_CAPTURE_THE_BLOCK_CONTRACT_ADDRESS
value: "0x573D6899B7F22E737582dBfa4ca784CF284982A5"
- name: GOERLI_DAI_ADDRESS
value: "0xEA2137a627DaEfE32E19746D329cA196fccc0014"
- name: GOERLI_CAPTURE_THE_BLOCK_CONTRACT_ADDRESS
value: "0x07b82E4960382956992b3BDCCed7fd7c631068C7"
---
# Frontend Service
apiVersion: v1
kind: Service
metadata:
name: capture-the-block
namespace: default
labels:
app: capture-the-block
spec:
type: NodePort
ports:
- port: 80
targetPort: 80
protocol: TCP
selector:
app: capture-the-block