gatus module update

perseverance
Lewis7Lewis 2026-11-10 16:59:39 +01:00
parent c02f0888b8
commit f30f15081e
2 changed files with 4 additions and 6 deletions

View File

@ -36,8 +36,8 @@ in
ui.logo = ../../../assets/logo_crans_dark.png ;
ui.favicon.default = ../../../assets/logo_crans_dark.png ;
ui.link = "https://crans.org";
storage.type = "sqlite";
storage.path = "gatus.db";
storage.type = "memory";
#storage.path = "gatus.db";
endpoints = config.crans.gatus.endpoints;
};

View File

@ -3,11 +3,9 @@ let
cfg = config.crans.gatus;
in
{
options.crans.gatus = {
endpoints = lib.mkOption {
type = lib.types.listOf lib.types.attrs;
options.crans.gatus.endpoints = lib.mkOption {
type = lib.types.listOf (lib.types.attrsOf lib.types.anything);
default = [ ];
description = "List of Gatus endpoints to monitor.";
};
};
}