add some more healtchecks

This commit is contained in:
Ingolf Wagner 2024-09-22 08:21:25 +09:00
parent d70e39d6fa
commit 4bd2f7f3f2
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
6 changed files with 31 additions and 0 deletions

View file

@ -6,6 +6,11 @@
}: }:
{ {
verify.http.syncthing-gui = {
url = config.services.syncthing.guiAddress;
expectedContent = "syncthing";
};
services.syncthing = { services.syncthing = {
enable = true; enable = true;
openDefaultPorts = false; openDefaultPorts = false;

View file

@ -6,6 +6,11 @@
}: }:
{ {
verify.http.syncthing-gui = {
url = config.services.syncthing.guiAddress;
expectedContent = "syncthing";
};
services.syncthing = { services.syncthing = {
enable = true; enable = true;
overrideFolders = true; overrideFolders = true;

View file

@ -5,6 +5,10 @@
... ...
}: }:
{ {
verify.http.forgejjo = {
url = "http://git.chungus.private/explore/repos";
expectedContent = "nixinate";
};
services.nginx = { services.nginx = {
enable = true; enable = true;

View file

@ -6,6 +6,11 @@
}: }:
{ {
verify.http.syncthing-gui = {
url = config.services.syncthing.guiAddress;
expectedContent = "syncthing";
};
#networking.firewall.allowedTCPPorts = [ 22000 ]; #networking.firewall.allowedTCPPorts = [ 22000 ];
#networking.firewall.allowedUDPPorts = [ 22000 ]; #networking.firewall.allowedUDPPorts = [ 22000 ];

View file

@ -5,6 +5,12 @@
... ...
}: }:
{ {
verify.http.vaultwarden = {
url = config.services.vaultwarden.config.domain;
expectedContent = "BOOOOM"; # fixme: seems this part is not working
};
services.vaultwarden = { services.vaultwarden = {
enable = true; enable = true;
# backupDir = # backupDir =

View file

@ -3,6 +3,12 @@ let
port = 9001; port = 9001;
in in
{ {
verify.http.wastebin = {
url = "https://paste.ingolf-wagner.de";
expectedContent = "BOOOOM"; # fixme: seems this part is not working
};
services.wastebin = { services.wastebin = {
enable = true; enable = true;
settings = { settings = {