kariru: add sabnzbd
All checks were successful
flake check / check (push) Successful in 4m35s
fmt check / check (push) Successful in 1m5s
All checks were successful
flake check / check (push) Successful in 4m35s
fmt check / check (push) Successful in 1m5s
This commit is contained in:
parent
7dbf465aa8
commit
8ddb1e37b3
2 changed files with 27 additions and 10 deletions
|
@ -1,4 +1,5 @@
|
|||
{...}: {
|
||||
networking.firewall.allowedTCPPorts = [9292];
|
||||
imports = [
|
||||
./restic.nix
|
||||
./traefik.nix
|
||||
|
@ -20,7 +21,9 @@
|
|||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
virtualisation.oci-containers.containers.whisparr = {
|
||||
|
||||
virtualisation.oci-containers.containers = {
|
||||
whisparr = {
|
||||
image = "hotio/whisparr:nightly-7b7bdb9";
|
||||
ports = ["6969:6969"];
|
||||
volumes = [
|
||||
|
@ -30,4 +33,19 @@
|
|||
];
|
||||
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"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ _: {
|
|||
services = {
|
||||
sonarr.loadBalancer.servers = [{url = "http://localhost:8989";}];
|
||||
radarr.loadBalancer.servers = [{url = "http://localhost:7878";}];
|
||||
readarr.loadBalancer.servers = [{url = "http://localhost:8787";}];
|
||||
whisparr.loadBalancer.servers = [{url = "http://localhost:6969";}];
|
||||
prowlarr.loadBalancer.servers = [{url = "http://localhost:9696";}];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue