File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
- FROM alpine:3.13
1
+ FROM alpine:3.16.3
2
2
LABEL maintainer="Fedor Borshev <fedor@borshev.com>"
3
3
4
4
RUN apk update \
Original file line number Diff line number Diff line change 3
3
4
4
Backup PostgresSQL to S3 (supports periodic backups)
5
5
6
- This is a fork of [ karser/postgres-backup-s3] ( https://github.com/karser/docker-images ) with http://healthchecks.io support
6
+ This is a fork of [ karser/postgres-backup-s3] ( https://github.com/karser/docker-images ) with webhook support
7
7
8
8
## Usage
9
9
@@ -39,7 +39,7 @@ postgres-backup:
39
39
POSTGRES_USER : user
40
40
POSTGRES_PASSWORD : password
41
41
POSTGRES_EXTRA_OPTS : ' --schema=public --blobs'
42
- HEALTHCHECKS_IO_CHECK_ID : 73968bba-011a-476b-b206-7b113af22e0c
42
+ SUCCESS_WEBHOOK : https://sb-ping.ru/8pp9RGwDDPzTL2R8MRb8Ae
43
43
` ` `
44
44
45
45
### Automatic Periodic Backups
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ echo "DB backup uploaded successfully"
69
69
70
70
rm db.dump
71
71
72
- if [ -n $HEALTHCHECKS_IO_CHECK_ID ]; then
73
- echo " Notifying healthchecks.io "
74
- curl -m 10 --retry 5 https://hc-ping.com/ $HEALTHCHECKS_IO_CHECK_ID
75
- fi
72
+ if [ -n $SUCCESS_WEBHOOK ]; then
73
+ echo " Notifying $SUCCESS_WEBHOOK "
74
+ curl -m 10 --retry 5 $SUCCESS_WEBHOOK
75
+ fi
You can’t perform that action at this time.
0 commit comments