feat: add kuma for uptime management
This commit is contained in:
parent
aa766b7adc
commit
c8b7439339
3 changed files with 18 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
|||
./modules/matrix.nix
|
||||
./modules/monitoring.nix
|
||||
./modules/ntfy.nix
|
||||
./modules/uptime-kuma.nix
|
||||
./secrets/secrets-scheme.nix
|
||||
# Impure Secrets
|
||||
./secrets/secrets.nix
|
||||
|
|
|
|||
|
|
@ -63,6 +63,12 @@
|
|||
reverse_proxy localhost:3001 # Grafana
|
||||
'';
|
||||
};
|
||||
|
||||
"uptime.extremist.software" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy localhost:4001
|
||||
'';
|
||||
};
|
||||
|
||||
"ntfy.extremist.software" = {
|
||||
extraConfig = ''
|
||||
|
|
|
|||
11
modules/uptime-kuma.nix
Normal file
11
modules/uptime-kuma.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.uptime-kuma = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PORT = "4001";
|
||||
HOST = "127.0.0.1";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue