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

48 lines
960 B
Nix

{
config,
pkgs,
...
}: let
inherit (config.khepri) rwDataDir;
rwPath = rwDataDir + "/media/prowlarr";
in {
khepri.compositions."prowlarr" = {
networks.proxy_net = {external = true;};
services = {
"prowlarr" = {
image = import ./images/prowlarr.nix pkgs;
restart = "always";
environment = {
PUID = "1000";
PGID = "1000";
TZ = "America/New_York";
};
volumes = ["${rwPath}/data:/config"];
ports = ["9696:9696"];
networks = ["proxy_net"];
};
"flaresolverr" = {
image = import ./images/flaresolverr.nix pkgs;
restart = "always";
environment = {
LOG_LEVEL = "info";
LOG_HTML = "false";
CAPTCHA_SOLVER = "none";
TZ = "America/New_York";
};
ports = ["8191:8191"];
dependsOn = ["prowlarr"];
networks = ["proxy_net"];
};
};
};
}