nixos-configs/devices/nos/modules/docker/media/radarr/compose.nix
matt1432 c14a7906c8
All checks were successful
Discord / discord commits (push) Successful in 54s
feat(servers): only expose public apps to WAN
2024-08-11 14:53:45 -04:00

34 lines
585 B
Nix

{
config,
pkgs,
...
}: let
inherit (config.khepri) rwDataDir;
rwPath = rwDataDir + "/media/radarr";
in {
khepri.compositions."radarr" = {
networks.proxy_net = {external = true;};
services."radarr" = {
image = import ./images/radarr.nix pkgs;
restart = "always";
ports = ["7878:7878"];
environment = {
PUID = "1000";
PGID = "1000";
TZ = "America/New_York";
};
volumes = [
"${rwPath}/data:/config"
"/data:/data"
];
cpus = 0.5;
networks = ["proxy_net"];
};
};
}