Add lidarr

This commit is contained in:
Nathan McCarty 2023-04-10 12:15:35 -04:00
parent a22be56439
commit 2e72a7255e
No known key found for this signature in database
2 changed files with 28 additions and 0 deletions

View File

@ -148,10 +148,27 @@
];
dependsOn = [ "sabnzbd" "plex" ];
};
# Configure lidarr
"lidarr" = {
image = "lscr.io/linuxserver/lidarr:latest";
environment = {
"PUID" = "1000";
"PGID" = "1000";
"TZ" = "America/New_York";
};
ports = [ "8686:8686" ];
volumes = [
"/var/lib/lidarr:/config"
"/mnt/plex:/music"
"/mnt/scratch/sabnzbd/download-complete:/downloads"
];
dependsOn = [ "sabnzbd" ];
};
};
# Make the containers depend on their mounts
systemd.services = {
"podman-plex" = { requires = [ "mnt-plex.mount" ]; };
"podman-sabnzbd" = { requires = [ "mnt-scratch.mount" ]; };
"podman-lidarr" = { requires = [ "mnt-music.mount" ]; };
};
}

View File

@ -140,6 +140,17 @@
'';
};
};
"lidarr.mccarty.io" = {
forceSSL = true;
useACMEHost = "mccarty.io";
locations."/" = {
proxyPass = "http://100.121.150.78:8686";
extraConfig = ''
allow 100.64.0.0/10;
deny all;
'';
};
};
"tautulli.mccarty.io" = {
forceSSL = true;
useACMEHost = "mccarty.io";