nixos-configs/devices/nos/modules/arion/media/bazarr/compose.nix
matt1432 31a3cfcaca
All checks were successful
Discord / discord commits (push) Has been skipped
feat(bazarr): only use one instance
2024-05-18 00:04:26 -04:00

30 lines
539 B
Nix

{config, ...}: let
inherit (config.arion) rwDataDir;
rwPath = rwDataDir + "/media/bazarr";
in {
arion.projects."bazarr"."bazarr" = {
image = ./images/bazarr.nix;
restart = "always";
environment = {
PUID = "1000";
PGID = "1000";
TZ = "America/New_York";
};
extra_hosts = ["lan.nelim.org=10.0.0.130"];
ports = [
"6767:6767"
];
volumes = [
"${rwPath}/data:/config"
"/data:/data"
];
extraOptions = {
deploy.resources.limits.cpus = "2";
};
};
}