kariru: init whisparr and readarr
This commit is contained in:
parent
e1505bf9a1
commit
0e2c61de6e
3 changed files with 29 additions and 2 deletions
|
@ -22,6 +22,11 @@
|
||||||
fsType = "nfs";
|
fsType = "nfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/stash" = {
|
||||||
|
device = "192.168.1.199:/mnt/Sutoreji/stash";
|
||||||
|
fsType = "nfs";
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
{device = "/dev/disk/by-uuid/f28bad28-ae14-4aa7-85c5-47abe46bae56";}
|
{device = "/dev/disk/by-uuid/f28bad28-ae14-4aa7-85c5-47abe46bae56";}
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./traefik.nix
|
./traefik.nix
|
||||||
./torrent.nix
|
./torrent.nix
|
||||||
|
@ -19,8 +19,18 @@ _: {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
services.bazarr = {
|
services.readarr = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
|
virtualisation.oci-containers.containers.whisparr = {
|
||||||
|
image = "hotio/whisparr";
|
||||||
|
ports = ["6969:6969"];
|
||||||
|
volumes = [
|
||||||
|
"/var/lib/whisparr:/config"
|
||||||
|
"/stash:/data/stash"
|
||||||
|
"/media/downloads:/data/downloads"
|
||||||
|
];
|
||||||
|
extraOptions = ["--network=host"];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,6 +20,16 @@ _: {
|
||||||
entryPoints = ["web"];
|
entryPoints = ["web"];
|
||||||
service = "radarr";
|
service = "radarr";
|
||||||
};
|
};
|
||||||
|
readarr = {
|
||||||
|
rule = "Host(`readarr.internal.flake.sh`)";
|
||||||
|
entryPoints = ["web"];
|
||||||
|
service = "readarr";
|
||||||
|
};
|
||||||
|
whisparr = {
|
||||||
|
rule = "Host(`whisparr.internal.flake.sh`)";
|
||||||
|
entryPoints = ["web"];
|
||||||
|
service = "whisparr";
|
||||||
|
};
|
||||||
prowlarr = {
|
prowlarr = {
|
||||||
rule = "Host(`prowlarr.internal.flake.sh`)";
|
rule = "Host(`prowlarr.internal.flake.sh`)";
|
||||||
entrypoints = ["web"];
|
entrypoints = ["web"];
|
||||||
|
@ -29,6 +39,8 @@ _: {
|
||||||
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";}];
|
||||||
prowlarr.loadBalancer.servers = [{url = "http://localhost:9696";}];
|
prowlarr.loadBalancer.servers = [{url = "http://localhost:9696";}];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue