-
Notifications
You must be signed in to change notification settings - Fork 5
/
kube.yaml
41 lines (41 loc) · 1.04 KB
/
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
40
41
apiVersion: apps/v1
kind: Deployment
metadata:
name: transfer-server
spec:
replicas: 1
selector:
matchLabels:
app: transfer-server
template:
metadata:
labels:
app: transfer-server
spec:
containers:
- name: transfer-server
image: umbrel/transfer-server:latest
ports:
- containerPort: 3000
envFrom:
- secretRef:
name: transfer-server-secrets
imagePullPolicy: Always
volumeMounts:
- name: transfer-server-config-volume
mountPath: /usr/src/app/config
readinessProbe:
tcpSocket:
port: 3000
initialDelaySeconds: 10
volumes:
- name: transfer-server-config-volume
configMap:
name: transfer-server-config
items:
- key: assets.json
path: assets.json
- key: postgres.crt
path: postgres.crt
- key: stellar.toml
path: stellar.toml