Add lidarr
This commit is contained in:
parent
a22be56439
commit
2e72a7255e
|
@ -148,10 +148,27 @@
|
||||||
];
|
];
|
||||||
dependsOn = [ "sabnzbd" "plex" ];
|
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
|
# Make the containers depend on their mounts
|
||||||
systemd.services = {
|
systemd.services = {
|
||||||
"podman-plex" = { requires = [ "mnt-plex.mount" ]; };
|
"podman-plex" = { requires = [ "mnt-plex.mount" ]; };
|
||||||
"podman-sabnzbd" = { requires = [ "mnt-scratch.mount" ]; };
|
"podman-sabnzbd" = { requires = [ "mnt-scratch.mount" ]; };
|
||||||
|
"podman-lidarr" = { requires = [ "mnt-music.mount" ]; };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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" = {
|
"tautulli.mccarty.io" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = "mccarty.io";
|
useACMEHost = "mccarty.io";
|
||||||
|
|
Loading…
Reference in New Issue