diff --git a/README.md b/README.md index 16c16ad..ca73044 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,16 @@ ssh vps 'systemctl status stacks-backup.timer' ssh vps 'source ~/stacks/_backup/.env && restic -r /mnt/hidrive/users/valknar/Backup/stacks snapshots' ``` +## Notifications + +Watchtower and the backup script both POST to an n8n webhook, which forwards messages to Telegram. + +The webhook URL is set in two places: +- `_backup/.env` → `WEBHOOK_URL` +- `watchtower/.env` → `NOTIFICATION_URL` (uses `generic+https://` shoutrrr scheme) + +Both point to the same n8n workflow at `https://n8n.pivoine.art`. The workflow accepts `{ "text": "..." }` (backup) and `{ "message": "..." }` (watchtower) and sends either field to Telegram. + ## Data Persistent data is stored in `~/stacks/.data//` on the VPS using bind mounts. Database stacks use dedicated Postgres instances with simple credentials.