From a3fd578fa9131fd428892808711500636ea9a694 Mon Sep 17 00:00:00 2001 From: notohh Date: Fri, 16 Jun 2023 05:06:59 -0400 Subject: [PATCH] kariru: init bazarr --- hosts/kariru/services/default.nix | 4 ++++ hosts/kariru/services/traefik.nix | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/hosts/kariru/services/default.nix b/hosts/kariru/services/default.nix index a40a5c7..92c06ca 100644 --- a/hosts/kariru/services/default.nix +++ b/hosts/kariru/services/default.nix @@ -19,4 +19,8 @@ _: { enable = true; openFirewall = true; }; + services.bazarr = { + enable = true; + openFirewall = true; + }; } diff --git a/hosts/kariru/services/traefik.nix b/hosts/kariru/services/traefik.nix index bd9bda4..bd52130 100644 --- a/hosts/kariru/services/traefik.nix +++ b/hosts/kariru/services/traefik.nix @@ -25,11 +25,23 @@ _: { entrypoints = ["web"]; service = "prowlarr"; }; + bazarr = { + rule = "Host(`bazarr.home.arpa`)"; + entrypoints = ["web"]; + service = "bazarr"; + }; + qbittorrent = { + rule = "Host(`torrent.home.arpa`)"; + entrypoints = ["web"]; + service = "qbittorrent"; + }; }; services = { sonarr.loadBalancer.servers = [{url = "http://localhost:8989";}]; radarr.loadBalancer.servers = [{url = "http://localhost:7878";}]; prowlarr.loadBalancer.servers = [{url = "http://localhost:9696";}]; + bazarr.loadBalancer.servers = [{url = "http://localhost:6767";}]; + qbittorrent.loadBalancer.servers = [{url = "http://localhost:8080";}]; }; }; };