flaresolverr: init
This commit is contained in:
parent
3c50a55b62
commit
47f5c32b4f
2 changed files with 28 additions and 0 deletions
27
container/flaresolverr/default.nix
Normal file
27
container/flaresolverr/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{ lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
virtualisation.oci-containers.containers.flaresolverr = {
|
||||||
|
image = "ghcr.io/flaresolverr/flaresolverr:latest";
|
||||||
|
ports = [ "192.168.42.2:8191:8191" ];
|
||||||
|
environment = {
|
||||||
|
"HOST" = "192.168.42.2";
|
||||||
|
"PORT" = "8191";
|
||||||
|
"LOG_LEVEL" = "info";
|
||||||
|
};
|
||||||
|
extraOptions = [
|
||||||
|
"--network=ns:/var/run/netns/wg"
|
||||||
|
"--label=com.centurylinklabs.watchtower.enable=true"
|
||||||
|
"--label=io.containers.autoupdate=registry"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.services.podman-flaresolverr = {
|
||||||
|
bindsTo = [ "wg.service" ];
|
||||||
|
after = lib.mkForce [ "wg.service" ];
|
||||||
|
|
||||||
|
serviceConfig = {
|
||||||
|
TimeoutStopSec = lib.mkForce 10;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -37,6 +37,7 @@ in
|
||||||
../nixos/container.nix
|
../nixos/container.nix
|
||||||
../../container/tubearchivist
|
../../container/tubearchivist
|
||||||
../../container/autobrr
|
../../container/autobrr
|
||||||
|
../../container/flaresolverr
|
||||||
../../secret/container/additional-media
|
../../secret/container/additional-media
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue