Skip to content

healthchecks ​

Cron job & task monitoring

Example ​

nix
{config, ...}: {
  nps.stacks.healthchecks = {
    enable = true;
    secretKeyFile = config.sops.secrets."healthchecks/secret_key".path;
    superUserEmail = "admin@example.com";
    superUserPasswordFile = config.sops.secrets."healthchecks/superuser_password".path;
  };
}

Stack Options ​

nps.stacks.healthchecks.enable ​

Whether to enable healthchecks.

Type
plaintext
boolean
Default
nix
false
Example
nix
true
Declaration

nps.stacks.healthchecks.secretKeyFile ​

Path to the file containing the secret key.

See https://healthchecks.io/docs/self_hosted_configuration/#SECRET_KEY

Type
plaintext
absolute path
Declaration

nps.stacks.healthchecks.superUserEmail ​

Email address of the superuser account

Type
plaintext
string
Declaration

nps.stacks.healthchecks.superUserPasswordFile ​

Path to the file containing the superuser password

Type
plaintext
absolute path
Declaration

Container Aliases ​

nps.stacks.healthchecks.containers.healthchecks ​

Alias of {option}services.podman.containers.healthchecks.

Type
plaintext
submodule
Declaration