nixos-configs/devices/nos/modules/docker/media/bazarr/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

36 lines
599 B
Nix

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