nixos-configs/devices/nos/modules/docker/media/bazarr/compose.nix
matt1432 827bf6ba8c
All checks were successful
Discord / discord commits (push) Has been skipped
feat(docker): arion -> khepri
2024-07-24 15:49:31 -04:00

32 lines
523 B
Nix

{
config,
pkgs,
...
}: let
inherit (config.khepri) rwDataDir;
rwPath = rwDataDir + "/media/bazarr";
in {
khepri.compositions."bazarr".services."bazarr" = {
image = import ./images/bazarr.nix pkgs;
restart = "always";
environment = {
PUID = "1000";
PGID = "1000";
TZ = "America/New_York";
};
extraHosts = ["lan.nelim.org=10.0.0.130"];
ports = [
"6767:6767"
];
volumes = [
"${rwPath}/data:/config"
"/data:/data"
];
cpus = 2;
};
}