-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtorq.yaml
More file actions
61 lines (61 loc) · 1.36 KB
/
torq.yaml
File metadata and controls
61 lines (61 loc) · 1.36 KB
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: torq-deployment
labels:
app: torq-app
tier: torq
spec:
replicas: 1
selector:
matchLabels:
app: torq-app
template:
metadata:
labels:
app: torq-app
tier: torq
spec:
securityContext:
runAsUser: 1000
fsGroup: 1000
volumes:
- name: macaroonvolume
configMap:
name: lnd-admin.macaroon
- name: tlsvolume
configMap:
name: lnd-tls.cert
containers:
- name: vector
image: "lncapital/torq:latest"
imagePullPolicy: IfNotPresent
args:
- --db.name=torqtimescaledb
- --db.host=torq-timescaledb-service
- --db.user=<torq-user>
- --db.password=<torq-pass>
- --lnd.url=lnd-service:10009
- --lnd.tls-path=/app/lnd/tls/tls.cert
- --lnd.macaroon-path=/app/lnd/macaroon/admin.macaroon
- start
volumeMounts:
- name: macaroonvolume
mountPath: /app/lnd/macaroon
- name: tlsvolume
mountPath: /app/lnd/tls
---
apiVersion: v1
kind: Service
metadata:
name: torq-service
labels:
tier: torq
spec:
type: ClusterIP
selector:
app: torq-app
tier: torq
ports:
- port: 8080
name: torq-http-port