feat(gotify): push notification server + SMTP email relay #19

Merged
rock merged 2 commits from feat/gotify-notifications into main 2026-09-10 01:36:01 +00:00
Owner

Adds Gotify for PR email notifications from Forgejo.

Components

  • Gotify server — self-hosted push notifications (gotify.riotpiao.com)
  • SMTP emailer sidecar — polls Gotify messages, forwards as email via msmtp
  • ArgoCD Application — wave 8, auto-sync, notifications namespace

Setup (post-merge)

  1. Encrypt secrets: sops -e -i k8s/apps/gotify/secrets.yaml
  2. Create Gotify app + client tokens in UI
  3. Add Forgejo webhook → http://gotify.notifications.svc.cluster.local/message
  4. Add CoreDNS rewrite for gotify.riotpiao.com

See k8s/apps/gotify/README.md for full guide.

Adds Gotify for PR email notifications from Forgejo. ## Components - **Gotify server** — self-hosted push notifications (gotify.riotpiao.com) - **SMTP emailer sidecar** — polls Gotify messages, forwards as email via msmtp - **ArgoCD Application** — wave 8, auto-sync, notifications namespace ## Setup (post-merge) 1. Encrypt secrets: `sops -e -i k8s/apps/gotify/secrets.yaml` 2. Create Gotify app + client tokens in UI 3. Add Forgejo webhook → `http://gotify.notifications.svc.cluster.local/message` 4. Add CoreDNS rewrite for gotify.riotpiao.com See `k8s/apps/gotify/README.md` for full guide.
rock added 1 commit 2026-09-09 23:26:04 +00:00
- Gotify server (ghcr.io/gotify/server:2.6.1) in notifications namespace
- SMTP emailer sidecar polls messages, forwards as email via msmtp
- Ingress at gotify.riotpiao.com with WebSocket support
- 1Gi Longhorn PVC for message persistence
- ArgoCD Application (wave 8, auto-sync)
- Secrets template for admin creds, SMTP config, tokens
- README with setup guide: tokens, Forgejo webhooks, SMTP providers

Enables PR created/merged email notifications from Forgejo.
rock added 1 commit 2026-09-10 01:34:54 +00:00
- Replace SQLite + PVC with CNPG Postgres cluster (2 replicas, longhorn-cnpg)
- Connection string built at runtime via shell wrapper (env var interpolation)
- Remove gotify-data PVC (DB handles persistence)
- Encrypt secrets.yaml with SOPS
- Add db.yaml: gotify-db cluster in notifications namespace
rock merged commit 128e76ce2d into main 2026-09-10 01:36:01 +00:00
Sign in to join this conversation.