nixos-configs/devices/nos/modules/docker/media/seerr/compose.nix
matt1432 59d2205e7a
All checks were successful
Discord / discord commits (push) Has been skipped
fix(docker): add required changes to make every container work
2024-07-24 20:52:32 -04:00

31 lines
581 B
Nix

{
config,
pkgs,
...
}: let
inherit (config.khepri) rwDataDir;
rwPath = rwDataDir + "/media/seerr";
in {
khepri.compositions."seerr" = {
networks.proxy_net = {external = true;};
services."seerr" = {
image = import ./images/jellyseerr.nix pkgs;
restart = "always";
environment = {
LOG_LEVEL = "debug";
TZ = "America/New_York";
};
volumes = [
"${rwPath}/data:/app/config"
];
extraHosts = ["lan.nelim.org:10.0.0.130"];
networks = ["proxy_net"];
ports = ["5055:5055"];
};
};
}