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}`
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user