cluster/services/search: migrate from VEGAS/searxng, add blackbox check

This commit is contained in:
Max Headroom 2023-06-05 00:54:23 +02:00
parent 72f8a047e9
commit b4b3899c5b
4 changed files with 14 additions and 2 deletions

View file

@ -0,0 +1,13 @@
{ tools, ... }:
{
services.search = {
nodes.host = [ "VEGAS" ];
nixos.host = ./host.nix;
};
monitoring.blackbox.targets.search = {
address = "https://search.${tools.meta.domain}/healthz";
module = "https2xx";
};
}

View file

@ -8,7 +8,7 @@ in
]; ];
links.searxng.protocol = "http"; links.searxng.protocol = "http";
age.secrets.searxng-secrets.file = ../../../../secrets/searxng-secrets.age; age.secrets.searxng-secrets.file = ../../../secrets/searxng-secrets.age;
services.searx = { services.searx = {
enable = true; enable = true;
runInUwsgi = true; runInUwsgi = true;

View file

@ -30,7 +30,6 @@
./services/nix/nar-serve.nix ./services/nix/nar-serve.nix
./services/object-storage ./services/object-storage
./services/reflex ./services/reflex
./services/searxng
./services/sso ./services/sso
./services/uptime-kuma ./services/uptime-kuma
./services/vault ./services/vault