From 7812894fdcdab298b40f038d41d0fcdcaeacda68 Mon Sep 17 00:00:00 2001 From: Arthur Bodera Date: Wed, 19 Jun 2024 10:12:53 +1000 Subject: [PATCH] Document granular webhooks. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 9e317bc..ac415e5 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,9 @@ Most variables are the same as in the [official postgres image](https://hub.dock | SCHEDULE | [Cron-schedule](http://godoc.org/github.com/robfig/cron#hdr-Predefined_schedules) specifying the interval between postgres backups. Defaults to `@daily`. | | TZ | [POSIX TZ variable](https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html) specifying the timezone used to evaluate SCHEDULE cron (example "Europe/Paris"). | | WEBHOOK_URL | URL to be called after an error or after a successful backup (POST with a JSON payload, check `hooks/00-webhook` file for more info). Default disabled. | +| WEBHOOK_ERROR_URL | URL to be called in case backup fails. Default disabled. | +| WEBHOOK_PRE_BACKUP_URL | URL to be called when backup starts. Default disabled. | +| WEBHOOK_POST_BACKUP_URL | URL to be called when backup completes successfully. Default disabled. | | WEBHOOK_EXTRA_ARGS | Extra arguments for the `curl` execution in the webhook (check `hooks/00-webhook` file for more info). | #### Special Environment Variables