summaryrefslogtreecommitdiff
path: root/playbooks.d/k3s-master/share/manifests/applications/edephas.tyil.net/servarr/rtorrent-lidarr/deployment.yaml
blob: 1c767f82efe18fe35dd91ba78f4af7d69d11cb7f (plain)
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: rtorrent-lidarr
  namespace: servarr
spec:
  replicas: 1
  strategy:
    type: Recreate
  selector:
    matchLabels:
      app.kubernetes.io/created-by: tyil
      app.kubernetes.io/managed-by: manual
      app.kubernetes.io/name: rtorrent-lidarr
      app.kubernetes.io/part-of: servarr
  template:
    metadata:
      labels:
        app.kubernetes.io/created-by: tyil
        app.kubernetes.io/managed-by: manual
        app.kubernetes.io/name: rtorrent-lidarr
        app.kubernetes.io/part-of: servarr
    spec:
      containers:
      - name: rtorrent
        image: tyil/rtorrent:latest
        ports:
        - containerPort: 5000
        volumeMounts:
        - name: config
          subPath: rtorrent.rc
          mountPath: /root/.rtorrent.rc
        - name: session
          mountPath: /session
        - name: downloads
          mountPath: /mnt/media/music/source-rtorrent
      - name: rutorrent
        image: tyil/rutorrent:latest
        ports:
        - containerPort: 8080
        env:
        - name: RPC_ENDPOINT
          value: "/RPC2"
        - name: RPC_HOST
          value: "127.0.0.1"
        - name: RPC_PORT
          value: "5000"
      volumes:
      - name: config
        configMap:
          name: rtorrent-lidarr
      - name: downloads
        hostPath:
          type: Directory
          path: /mnt/media/music/source-rtorrent
      - name: session
        hostPath:
          type: Directory
          path: /srv/servarr/lidarr/rtorrent-session
...