media: fix cross-seed config for qbittorrent
This commit is contained in:
@@ -10,12 +10,18 @@ metadata:
|
||||
data:
|
||||
config.js: |
|
||||
module.exports = {
|
||||
qbittorrentUrl: "{{ .Values.config.qbittorrentUrl }}",
|
||||
qbittorrentUsername: process.env.QBITTORRENT_USERNAME,
|
||||
qbittorrentPassword: process.env.QBITTORRENT_PASSWORD,
|
||||
torrentClients: [
|
||||
{
|
||||
type: "qbittorrent",
|
||||
url: "{{ .Values.config.qbittorrentUrl }}",
|
||||
username: process.env.QBITTORRENT_USERNAME,
|
||||
password: process.env.QBITTORRENT_PASSWORD
|
||||
}
|
||||
],
|
||||
torrentDir: "{{ .Values.config.torrentDir }}",
|
||||
outputDir: "{{ .Values.config.outputDir }}",
|
||||
linkDirs: {{ toJson .Values.config.linkDirs }},
|
||||
dataDirs: {{ toJson .Values.config.dataDirs }},
|
||||
outputDir: {{ toJson .Values.config.outputDir }},
|
||||
action: "{{ .Values.config.action }}",
|
||||
torznab: [
|
||||
`{{ .Values.config.torznabBaseUrl }}?t=search&apikey=${process.env.NZBGEEK_API_KEY}`
|
||||
]
|
||||
|
||||
@@ -29,10 +29,11 @@ command:
|
||||
|
||||
config:
|
||||
qbittorrentUrl: "http://qbittorrent.default.svc.cluster.local:8080"
|
||||
torrentDir: "/data/torrents"
|
||||
outputDir: "/data/torrents/.cross-seed"
|
||||
linkDirs:
|
||||
torrentDir: "/qbittorrent-config/qBittorrent/BT_backup"
|
||||
dataDirs:
|
||||
- "/data/torrents"
|
||||
outputDir: null
|
||||
action: "inject"
|
||||
torznabBaseUrl: "https://api.nzbgeek.info/api"
|
||||
|
||||
secret:
|
||||
@@ -74,6 +75,9 @@ volumeMounts:
|
||||
- name: config
|
||||
mountPath: "/config/config.js"
|
||||
subPath: "config.js"
|
||||
- name: plex-data
|
||||
mountPath: "/qbittorrent-config"
|
||||
subPath: "configs/qbittorrent"
|
||||
- name: plex-data
|
||||
mountPath: "/data/torrents"
|
||||
subPath: "torrent"
|
||||
|
||||
Reference in New Issue
Block a user