30 lines
532 B
Nix
30 lines
532 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"
|
|
];
|
|
|
|
networks = ["proxy_net"];
|
|
ports = ["5055:5055"];
|
|
};
|
|
};
|
|
}
|