Compare commits
2 commits
e1505bf9a1
...
8b3c6ec6c8
Author | SHA1 | Date | |
---|---|---|---|
8b3c6ec6c8 | |||
0e2c61de6e |
4 changed files with 31 additions and 3 deletions
|
@ -101,7 +101,8 @@
|
|||
"jellyseerr.internal.flake.sh" = "192.168.1.98";
|
||||
"sonarr.internal.flake.sh" = "192.168.1.54";
|
||||
"radarr.internal.flake.sh" = "192.168.1.54";
|
||||
"bazarr.internal.flake.sh" = "192.168.1.54";
|
||||
"readarr.internal.flake.sh" = "192.168.1.54";
|
||||
"whisparr.internal.flake.sh" = "192.168.1.54";
|
||||
"prowlarr.internal.flake.sh" = "192.168.1.54";
|
||||
"stash.internal.flake.sh" = "192.168.1.98";
|
||||
"nextcloud.internal.flake.sh" = "192.168.1.199";
|
||||
|
|
|
@ -22,6 +22,11 @@
|
|||
fsType = "nfs";
|
||||
};
|
||||
|
||||
fileSystems."/stash" = {
|
||||
device = "192.168.1.199:/mnt/Sutoreji/stash";
|
||||
fsType = "nfs";
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{device = "/dev/disk/by-uuid/f28bad28-ae14-4aa7-85c5-47abe46bae56";}
|
||||
];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
_: {
|
||||
{...}: {
|
||||
imports = [
|
||||
./traefik.nix
|
||||
./torrent.nix
|
||||
|
@ -19,8 +19,18 @@ _: {
|
|||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
services.bazarr = {
|
||||
services.readarr = {
|
||||
enable = 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"];
|
||||
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 = {
|
||||
rule = "Host(`prowlarr.internal.flake.sh`)";
|
||||
entrypoints = ["web"];
|
||||
|
@ -29,6 +39,8 @@ _: {
|
|||
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