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 = [
|
imports = [
|
||||||
./restic.nix
|
./restic.nix
|
||||||
./traefik.nix
|
./traefik.nix
|
||||||
|
@ -20,14 +21,31 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
virtualisation.oci-containers.containers.whisparr = {
|
|
||||||
image = "hotio/whisparr:nightly-7b7bdb9";
|
virtualisation.oci-containers.containers = {
|
||||||
ports = ["6969:6969"];
|
whisparr = {
|
||||||
volumes = [
|
image = "hotio/whisparr:nightly-7b7bdb9";
|
||||||
"/var/lib/whisparr:/config"
|
ports = ["6969:6969"];
|
||||||
"/stash:/data/stash"
|
volumes = [
|
||||||
"/media/downloads:/data/downloads"
|
"/var/lib/whisparr:/config"
|
||||||
];
|
"/stash:/data/stash"
|
||||||
extraOptions = ["--network=host"];
|
"/media/downloads:/data/downloads"
|
||||||
|
];
|
||||||
|
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 = {
|
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";}];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue