nps.stacks.ntfy.enable

Whether to enable ntfy.

Type: boolean

Default: false

Example: true

Declared by:

nps.stacks.ntfy.enableGrafanaDashboard

Whether to enable Grafana Dashboard.

Type: boolean

Default: false

Example: true

Declared by:

nps.stacks.ntfy.enablePrometheusExport

Whether to enable Prometheus Export.

Type: boolean

Default: false

Example: true

Declared by:

nps.stacks.ntfy.containers.ntfy

Alias of services.podman.containers.ntfy.

Type: submodule

Declared by:

nps.stacks.ntfy.extraEnv

Extra environment variables to set for the container. Variables can be either set directly or sourced from a file (e.g. for secrets).

For example in order to enable web push support, make sure you pass the ‘NTFY_WEB_PUSH_PUBLIC_KEY’, ‘NTFY_WEB_PUSH_PRIVATE_KEY’ & ‘NTFY_WEB_PUSH_EMAIL_ADDRESS’ variables. Keys can be generated by running podman run --rm docker.io/binwiederhier/ntfy:latest webpush keys

Type: attribute set of (null or boolean or signed integer or string or absolute path or (submodule))

Declared by:

nps.stacks.ntfy.settings

Server configuration (alternative to environment variable based configuration). Will be mounted as /etc/ntfy/server.yml in the container.

The final configuration file will be templated with gomplate, so secrets can be read from files or environment variables.

See

Type: YAML 1.1 value

Default: { }

Example:

{
  auth-default-access = "deny-all";
  enable-login = true;
  web-push-private-key = "{{ file.Read `/run/secrets/web_push_private_key` }}";
}

Declared by: