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