layne: enable readarr

This commit is contained in:
Adithya 2024-10-26 13:08:28 +05:30
parent 43b7e5f4ef
commit 9052721d91
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
3 changed files with 18 additions and 0 deletions

View file

@ -4,6 +4,7 @@ _: {
./transmission.nix ./transmission.nix
./radarr.nix ./radarr.nix
./sonarr.nix ./sonarr.nix
./readarr.nix
./jackett.nix ./jackett.nix
../../../shared/prometheus-exporters.nix ../../../shared/prometheus-exporters.nix
../../../shared/promtail.nix ../../../shared/promtail.nix

View file

@ -0,0 +1,16 @@
_: {
services = {
caddy.virtualHosts."readarr.labs.adtya.xyz" = {
extraConfig = ''
reverse_proxy 127.0.0.1:8787
'';
};
readarr = {
enable = true;
dataDir = "/mnt/data/readarr";
user = "mediaserver";
group = "mediaserver";
};
};
systemd.services.radarr.unitConfig.RequiresMountsFor = [ "/mnt/data" ];
}

View file

@ -80,6 +80,7 @@ in
"jellyfin.labs.adtya.xyz" = "10.10.10.14"; "jellyfin.labs.adtya.xyz" = "10.10.10.14";
"radarr.labs.adtya.xyz" = "10.10.10.14"; "radarr.labs.adtya.xyz" = "10.10.10.14";
"sonarr.labs.adtya.xyz" = "10.10.10.14"; "sonarr.labs.adtya.xyz" = "10.10.10.14";
"readarr.labs.adtya.xyz" = "10.10.10.14";
"jackett.labs.adtya.xyz" = "10.10.10.14"; "jackett.labs.adtya.xyz" = "10.10.10.14";
"jellyfin.local.adtya.xyz" = "192.168.1.14"; "jellyfin.local.adtya.xyz" = "192.168.1.14";
}; };