From d1f4ec51f099abac628d0a6a42cc9904ffb56912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Tue, 14 Mar 2023 13:39:54 +0100 Subject: [PATCH] feat: add gitea indexer --- hosts/hydrogen/configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/hydrogen/configuration.nix b/hosts/hydrogen/configuration.nix index 462ac4c..98e7b90 100644 --- a/hosts/hydrogen/configuration.nix +++ b/hosts/hydrogen/configuration.nix @@ -156,6 +156,13 @@ "DISABLE_REGISTRATION" = true; }; server = { "LANDING_PAGE" = "explore"; }; + indexer = { + "REPO_INDEXER_ENABLED" = true; + "REPO_INDEXER_PATH" = "indexers/repos.bleve"; + "UPDATE_BUFFER_LEN" = 20; + "MAX_FILE_SIZE" = 1048576; + "REPO_INDEXER_EXCLUDE" = "node_modules/**"; + }; session = { "PROVIDER" = "db"; "COOKIE_SECURE" = true;