apprise-api

by QuenchWorks

Helm chartv0.0.3App 2.1.0MITVerified publisher

Apprise API: one REST call to notify 100+ services (email, Slack, Discord, Telegram, ntfy, Matrix, webhooks), with stored configs, upstream authentication on by default and generated secrets. Hardened by QuenchWorks: CVE-gated, cosign-signed and pinned by digest.

About this chart

Quenchworks Apprise API

Hardened Apprise API: one REST call to send notifications to 100+ services (email, Slack, Discord, Telegram, ntfy, Matrix, webhooks and more), with configs stored under keys and a web UI. The image runs upstream's own runtime (nginx, gunicorn, pruner) on Wolfi python as uid 1001 on a read-only root filesystem; it is CVE-gated at build, cosign-signed and pinned by digest.

The chart turns upstream's authentication on and generates the admin password and the Django SECRET_KEY (upstream ships a fixed default).

Install

helm install notify oci://ghcr.io/quenchworks/charts/apprise-api --set configLock=false
P=$(kubectl get secret notify-apprise-api -o jsonpath='{.data.password}' | base64 -d)
kubectl port-forward svc/notify-apprise-api 8000:8000 &
curl -u admin:$P -d 'urls=ntfy://ntfy.example.com/alerts' http://127.0.0.1:8000/add/ops
curl -u admin:$P -d 'body=disk almost full' http://127.0.0.1:8000/notify/ops

Configuration

KeyDefaultWhat it does
auth.enabled, auth.usernametrue, adminUpstream's HTTP basic auth on every call
auth.password, auth.existingSecretgeneratedThe password (and secret-key), kept on upgrade
statefulModesimpleConfig storage: simple, hash or disabled
configLockfalseRefuse /add and /del and hide stored URLs (the admin account is exempt)
strictModefalseUpstream's strict nginx profile
settings{}More upstream variables (APPRISE_API_ONLY, APPRISE_ALLOW_SERVICES, APPRISE_BASE_URL, ...)
persistence.size1GiStored configs (/config)
ingress.*offNo TLS listener in the pod: terminate TLS at the Ingress

Verify the image

cosign verify ghcr.io/quenchworks/images/apprise-api \
  --certificate-identity-regexp 'https://github.com/quenchworks/.+' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Deploy apprise-api with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has apprise-api on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartapprise-api is pinned at v0.0.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply