official flaresolverr service by nixos
This commit is contained in:
parent
07f44ffeeb
commit
628d581f8d
1 changed files with 3 additions and 33 deletions
|
|
@ -15,28 +15,6 @@ let
|
|||
sonarrPort = toString 8989;
|
||||
readarrPort = toString 8787;
|
||||
prowlarrPort = toString 9696;
|
||||
|
||||
containersDefinition = {
|
||||
|
||||
flaresolverr = {
|
||||
enable = true;
|
||||
image = "ghcr.io/flaresolverr/flaresolverr:v3.3.21";
|
||||
autoStart = true;
|
||||
# volumes = [
|
||||
# "jackett_data:/data"
|
||||
# ];
|
||||
};
|
||||
};
|
||||
|
||||
# Pod Definition
|
||||
podDefinition = {
|
||||
name = "media-manager-extra";
|
||||
ports = [
|
||||
"8191:8191" # : FlareSolverr
|
||||
];
|
||||
containers = containersDefinition;
|
||||
};
|
||||
|
||||
in
|
||||
{
|
||||
options.my.services.media-mgr = {
|
||||
|
|
@ -121,18 +99,10 @@ in
|
|||
openFirewall = true;
|
||||
};
|
||||
|
||||
# Proxy server to bypass Cloudflare protection
|
||||
flaresolverr.enable = true;
|
||||
|
||||
};
|
||||
|
||||
my.virtualisation.podmanPods = {
|
||||
inherit podDefinition;
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.containers =
|
||||
let
|
||||
pod = config.helpers.processContainers podDefinition;
|
||||
in
|
||||
pod.containers;
|
||||
|
||||
})
|
||||
|
||||
# Caddy for reverse proxy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue