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/matrix.nix
|
||||||
./modules/monitoring.nix
|
./modules/monitoring.nix
|
||||||
./modules/ntfy.nix
|
./modules/ntfy.nix
|
||||||
|
./modules/uptime-kuma.nix
|
||||||
./secrets/secrets-scheme.nix
|
./secrets/secrets-scheme.nix
|
||||||
# Impure Secrets
|
# Impure Secrets
|
||||||
./secrets/secrets.nix
|
./secrets/secrets.nix
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,12 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"uptime.extremist.software" = {
|
||||||
|
extraConfig = ''
|
||||||
|
reverse_proxy localhost:4001
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
"ntfy.extremist.software" = {
|
"ntfy.extremist.software" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
reverse_proxy localhost:2586
|
reverse_proxy localhost:2586
|
||||||
|
|
|
||||||
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