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