layne: setup lidarr
This commit is contained in:
parent
7e920c9aed
commit
1fd29c847b
3 changed files with 24 additions and 0 deletions
|
@ -7,6 +7,7 @@ _: {
|
|||
./readarr.nix
|
||||
./prowlarr.nix
|
||||
./bazarr.nix
|
||||
./lidarr.nix
|
||||
../../../shared/prometheus-exporters.nix
|
||||
../../../shared/promtail.nix
|
||||
];
|
||||
|
|
22
hosts/layne/services/apps/lidarr.nix
Normal file
22
hosts/layne/services/apps/lidarr.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
_:
|
||||
let
|
||||
inherit (import ../../../shared/caddy-helpers.nix) logFormat;
|
||||
in
|
||||
{
|
||||
services = {
|
||||
caddy.virtualHosts."lidarr.labs.adtya.xyz" = {
|
||||
inherit logFormat;
|
||||
extraConfig = ''
|
||||
reverse_proxy 127.0.0.1:8686
|
||||
'';
|
||||
};
|
||||
lidarr = {
|
||||
enable = true;
|
||||
dataDir = "/mnt/data/lidarr";
|
||||
user = "mediaserver";
|
||||
group = "mediaserver";
|
||||
};
|
||||
};
|
||||
systemd.services.lidarr.unitConfig.RequiresMountsFor = [ "/mnt/data" ];
|
||||
}
|
||||
|
|
@ -73,6 +73,7 @@
|
|||
"grafana.labs.adtya.xyz" = "10.10.10.12";
|
||||
"homepage.labs.adtya.xyz" = "10.10.10.12";
|
||||
"jellyfin.labs.adtya.xyz" = "10.10.10.14";
|
||||
"lidarr.labs.adtya.xyz" = "10.10.10.14";
|
||||
"loki.labs.adtya.xyz" = "10.10.10.11";
|
||||
"prometheus.labs.adtya.xyz" = "10.10.10.11";
|
||||
"prowlarr.labs.adtya.xyz" = "10.10.10.14";
|
||||
|
|
Loading…
Reference in a new issue