cluster/services/search: migrate from VEGAS/searxng, add blackbox check
This commit is contained in:
parent
72f8a047e9
commit
b4b3899c5b
4 changed files with 14 additions and 2 deletions
13
cluster/services/search/default.nix
Normal file
13
cluster/services/search/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -8,7 +8,7 @@ in
|
|||
];
|
||||
links.searxng.protocol = "http";
|
||||
|
||||
age.secrets.searxng-secrets.file = ../../../../secrets/searxng-secrets.age;
|
||||
age.secrets.searxng-secrets.file = ../../../secrets/searxng-secrets.age;
|
||||
services.searx = {
|
||||
enable = true;
|
||||
runInUwsgi = true;
|
|
@ -30,7 +30,6 @@
|
|||
./services/nix/nar-serve.nix
|
||||
./services/object-storage
|
||||
./services/reflex
|
||||
./services/searxng
|
||||
./services/sso
|
||||
./services/uptime-kuma
|
||||
./services/vault
|
||||
|
|
Loading…
Reference in a new issue