nixos-configs/configurations/nos/modules/docker/media/seerr/compose.nix
matt1432 f481168458
All checks were successful
Discord / discord commits (push) Has been skipped
refactor(docker): share more vars between compose.nix files
2025-02-15 12:16:15 -05:00

31 lines
572 B
Nix

{
configPath,
TZ,
...
}: {pkgs, ...}: let
rwPath = configPath + "/media/seerr";
in {
virtualisation.docker.compose."seerr" = {
networks.proxy_net = {external = true;};
services."seerr" = {
image = pkgs.callPackage ./images/jellyseerr.nix pkgs;
restart = "always";
environment = {
LOG_LEVEL = "debug";
inherit TZ;
};
volumes = [
"${rwPath}/data:/app/config"
];
networks = ["proxy_net"];
ports = ["5055:5055"];
};
};
# For accurate stack trace
_file = ./compose.nix;
}