media: add cross-seed with nzbgeek config
This commit is contained in:
@@ -0,0 +1,96 @@
|
||||
replicaCount: 1
|
||||
|
||||
image:
|
||||
repository: ghcr.io/cross-seed/cross-seed
|
||||
tag: "6"
|
||||
pullPolicy: Always
|
||||
|
||||
env:
|
||||
- name: TZ
|
||||
value: "Europe/Amsterdam"
|
||||
- name: QBITTORRENT_USERNAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: cross-seed-secrets
|
||||
key: QBITTORRENT_USERNAME
|
||||
- name: QBITTORRENT_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: cross-seed-secrets
|
||||
key: QBITTORRENT_PASSWORD
|
||||
- name: NZBGEEK_API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: cross-seed-secrets
|
||||
key: NZBGEEK_API_KEY
|
||||
|
||||
command:
|
||||
- "daemon"
|
||||
|
||||
config:
|
||||
qbittorrentUrl: "http://qbittorrent.default.svc.cluster.local:8080"
|
||||
torrentDir: "/data/torrents"
|
||||
outputDir: "/data/torrents/.cross-seed"
|
||||
linkDirs:
|
||||
- "/data/torrents"
|
||||
torznabBaseUrl: "https://api.nzbgeek.info/api"
|
||||
|
||||
secret:
|
||||
create: true
|
||||
name: cross-seed-secrets
|
||||
qbittorrentUsername: "REPLACE_ME"
|
||||
qbittorrentPassword: "REPLACE_ME"
|
||||
nzbgeekApiKey: "REPLACE_ME"
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 2468
|
||||
|
||||
volumes:
|
||||
- name: plex-data
|
||||
persistentVolumeClaim:
|
||||
claimName: plex-data
|
||||
- name: config
|
||||
configMap:
|
||||
name: cross-seed-config
|
||||
|
||||
volumeMounts:
|
||||
- name: plex-data
|
||||
mountPath: "/config"
|
||||
subPath: "configs/cross-seed"
|
||||
- name: config
|
||||
mountPath: "/config/config.js"
|
||||
subPath: "config.js"
|
||||
- name: plex-data
|
||||
mountPath: "/data/torrents"
|
||||
subPath: "torrent"
|
||||
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: 2468
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 20
|
||||
timeoutSeconds: 2
|
||||
failureThreshold: 3
|
||||
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: 2468
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 2
|
||||
failureThreshold: 3
|
||||
|
||||
resources:
|
||||
requests:
|
||||
memory: "128Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "512Mi"
|
||||
cpu: "500m"
|
||||
|
||||
nodeSelector: {}
|
||||
|
||||
tolerations: []
|
||||
|
||||
affinity: {}
|
||||
Reference in New Issue
Block a user