add audiobook-search service to servarr stack
- New audiobook-search deployment + service + ingress (Authentik-protected) - qBittorrent: add NFS mount for /audiobooks (shared with Audiobookshelf) - Cloudflare DNS: add audiobook-search.viktorbarzin.me - Env vars: QBITTORRENT_URL/PASS, AUDIOBOOKSHELF_URL/TOKEN from ESO
This commit is contained in:
parent
dbff547741
commit
4ca7af8818
4 changed files with 146 additions and 0 deletions
|
|
@ -23,6 +23,14 @@ module "nfs_downloads" {
|
|||
nfs_path = "/mnt/main/servarr/downloads"
|
||||
}
|
||||
|
||||
module "nfs_audiobooks" {
|
||||
source = "../../../modules/kubernetes/nfs_volume"
|
||||
name = "servarr-qbittorrent-audiobooks"
|
||||
namespace = "servarr"
|
||||
nfs_server = var.nfs_server
|
||||
nfs_path = "/mnt/main/audiobookshelf/audiobooks"
|
||||
}
|
||||
|
||||
resource "kubernetes_deployment" "qbittorrent" {
|
||||
metadata {
|
||||
name = "qbittorrent"
|
||||
|
|
@ -80,6 +88,10 @@ resource "kubernetes_deployment" "qbittorrent" {
|
|||
name = "downloads"
|
||||
mount_path = "/downloads"
|
||||
}
|
||||
volume_mount {
|
||||
name = "audiobooks"
|
||||
mount_path = "/audiobooks"
|
||||
}
|
||||
}
|
||||
volume {
|
||||
name = "data"
|
||||
|
|
@ -93,6 +105,12 @@ resource "kubernetes_deployment" "qbittorrent" {
|
|||
claim_name = module.nfs_downloads.claim_name
|
||||
}
|
||||
}
|
||||
volume {
|
||||
name = "audiobooks"
|
||||
persistent_volume_claim {
|
||||
claim_name = module.nfs_audiobooks.claim_name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue