example yml
This commit is contained in:
parent
1a31f32456
commit
6e068882ca
@ -27,26 +27,30 @@ spec:
|
|||||||
image: thatbenbierens/nim-codex:sha-b204837
|
image: thatbenbierens/nim-codex:sha-b204837
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: codex-api-port1
|
name: api-1
|
||||||
env:
|
env:
|
||||||
- name: API_PORT
|
- name: API_PORT
|
||||||
value: "8080"
|
value: "8080"
|
||||||
- name: DATA_DIR
|
- name: DATA_DIR
|
||||||
value: datadir1
|
value: datadir1
|
||||||
|
- name: DISC_PORT
|
||||||
|
value: "8081"
|
||||||
|
- name: LISTEN_ADDRS
|
||||||
|
value: "/ip4/0.0.0.0/tcp/8082"
|
||||||
- name: codex-node2
|
- name: codex-node2
|
||||||
image: thatbenbierens/nim-codex:sha-b204837
|
image: thatbenbierens/nim-codex:sha-b204837
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8081
|
- containerPort: 8083
|
||||||
name: codex-api-port2
|
name: api-2
|
||||||
env:
|
env:
|
||||||
- name: API_PORT
|
- name: API_PORT
|
||||||
value: "8081"
|
value: "8083"
|
||||||
- name: DATA_DIR
|
- name: DATA_DIR
|
||||||
value: datadir2
|
value: datadir2
|
||||||
- name: DISC_PORT
|
- name: DISC_PORT
|
||||||
value: "8091"
|
value: "8084"
|
||||||
- name: LISTEN_ADDRS
|
- name: LISTEN_ADDRS
|
||||||
value: "/ip4/0.0.0.0/tcp/8072"
|
value: "/ip4/0.0.0.0/tcp/8085"
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -63,11 +67,11 @@ spec:
|
|||||||
- name: "node1"
|
- name: "node1"
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: 8080
|
port: 8080
|
||||||
targetPort: codex-api-port1
|
targetPort: api-1
|
||||||
nodePort: 30001
|
nodePort: 30001
|
||||||
- name: "node2"
|
- name: "node2"
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: 8081
|
port: 8083
|
||||||
targetPort: codex-api-port2
|
targetPort: api-2
|
||||||
nodePort: 30002
|
nodePort: 30002
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user