forked from nico/dots
uptimekuma: init
This commit is contained in:
parent
8d96a11cb7
commit
4666fa2def
3 changed files with 23 additions and 0 deletions
|
|
@ -111,6 +111,10 @@
|
|||
title = "PocketID";
|
||||
url = "https://auth.${config.homelab.domain}";
|
||||
}
|
||||
{
|
||||
title = "Uptime Kuma";
|
||||
url = "https://status.${config.homelab.domain}";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
|
|
|||
18
modules/services/uptime-kuma.nix
Normal file
18
modules/services/uptime-kuma.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
services.uptime-kuma = {
|
||||
enable = true;
|
||||
appriseSupport = true;
|
||||
settings = {
|
||||
UPTIME_KUMA_PORT = "8026";
|
||||
};
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts."status.${config.homelab.domain}" = {
|
||||
useACMEHost = config.homelab.domain;
|
||||
extraConfig = ''
|
||||
reverse_proxy http://localhost:8026
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue