aboutsummaryrefslogtreecommitdiffstats
path: root/k8s/electrs-liquid-deployment.yaml
blob: e33098f27cf77f8d2eb3196ebf23fb2b6ed5806c (plain) (blame)
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
apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    kompose.cmd: kompose convert -f docker-compose-resolved.yaml
    kompose.version: 1.22.0 (955b78124)
  creationTimestamp: null
  labels:
    io.kompose.service: electrs-liquid
  name: electrs-liquid
spec:
  replicas: 1
  selector:
    matchLabels:
      io.kompose.service: electrs-liquid
  strategy:
    type: Recreate
  template:
    metadata:
      annotations:
        kompose.cmd: kompose convert -f docker-compose-resolved.yaml
        kompose.version: 1.22.0 (955b78124)
      creationTimestamp: null
      labels:
        io.kompose.service: electrs-liquid
    spec:
      containers:
        - args:
            - -vvvv
            - --parent-network
            - regtest
            - --network
            - liquidregtest
            - --daemon-dir
            - /config
            - --daemon-rpc-addr
            - liquid:7040
            - --cookie
            - admin1:123
            - --http-addr
            - 0.0.0.0:3002
            - --electrum-rpc-addr
            - 0.0.0.0:60401
            - --cors
            - '*'
          command:
            - /build/electrs
          image: vulpemventures/electrs-liquid:latest
          name: electrs-liquid
          ports:
            - containerPort: 3002
            - containerPort: 60401
          resources: {}
          volumeMounts:
            - mountPath: /config
              name: electrs-liquid-claim0
      restartPolicy: Always
      volumes:
        - name: electrs-liquid-claim0
          persistentVolumeClaim:
            claimName: electrs-liquid-claim0
status: {}