2024-02-28 22:22:14 -05:00
|
|
|
{config, ...}: let
|
|
|
|
inherit (config.arion) rwDataDir;
|
|
|
|
|
|
|
|
rwPath = rwDataDir + "/media/radarr";
|
|
|
|
in {
|
|
|
|
arion.projects."radarr"."radarr" = {
|
|
|
|
image = ./images/radarr.nix;
|
|
|
|
restart = "always";
|
|
|
|
|
2024-03-19 20:40:45 -04:00
|
|
|
extra_hosts = ["lan.nelim.org=10.0.0.130"];
|
2024-02-28 22:22:14 -05:00
|
|
|
ports = ["7878:7878"];
|
|
|
|
|
|
|
|
environment = {
|
|
|
|
PUID = "1000";
|
|
|
|
PGID = "1000";
|
|
|
|
TZ = "America/New_York";
|
|
|
|
};
|
|
|
|
|
|
|
|
volumes = [
|
|
|
|
"${rwPath}/data:/config"
|
|
|
|
"/data:/data"
|
|
|
|
];
|
|
|
|
|
|
|
|
extraOptions = {
|
|
|
|
deploy.resources.limits.cpus = "0.5";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|