kariru: add sabnzbd
All checks were successful
flake check / check (push) Successful in 4m35s
fmt check / check (push) Successful in 1m5s

This commit is contained in:
notohh 2024-01-08 14:55:47 -05:00
parent 7dbf465aa8
commit 8ddb1e37b3
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 27 additions and 10 deletions

View file

@ -1,4 +1,5 @@
{...}: { {...}: {
networking.firewall.allowedTCPPorts = [9292];
imports = [ imports = [
./restic.nix ./restic.nix
./traefik.nix ./traefik.nix
@ -20,7 +21,9 @@
enable = true; enable = true;
openFirewall = true; openFirewall = true;
}; };
virtualisation.oci-containers.containers.whisparr = {
virtualisation.oci-containers.containers = {
whisparr = {
image = "hotio/whisparr:nightly-7b7bdb9"; image = "hotio/whisparr:nightly-7b7bdb9";
ports = ["6969:6969"]; ports = ["6969:6969"];
volumes = [ volumes = [
@ -30,4 +33,19 @@
]; ];
extraOptions = ["--network=host"]; extraOptions = ["--network=host"];
}; };
sabnzbd = {
image = "linuxserver/sabnzbd";
ports = ["9292:9292"];
environment = {
PUID = "1000";
PGID = "1000";
};
volumes = [
"/var/lib/sabnzbd:/config"
"/media/downloads:/media/downloads"
"/media/incomplete-downloads:/media/incomplete-downloads"
];
extraOptions = ["--network=host"];
};
};
} }

View file

@ -39,7 +39,6 @@ _: {
services = { services = {
sonarr.loadBalancer.servers = [{url = "http://localhost:8989";}]; sonarr.loadBalancer.servers = [{url = "http://localhost:8989";}];
radarr.loadBalancer.servers = [{url = "http://localhost:7878";}]; radarr.loadBalancer.servers = [{url = "http://localhost:7878";}];
readarr.loadBalancer.servers = [{url = "http://localhost:8787";}];
whisparr.loadBalancer.servers = [{url = "http://localhost:6969";}]; whisparr.loadBalancer.servers = [{url = "http://localhost:6969";}];
prowlarr.loadBalancer.servers = [{url = "http://localhost:9696";}]; prowlarr.loadBalancer.servers = [{url = "http://localhost:9696";}];
}; };