Olivier Pichon
df985f2cb9
feat(postgres-backup-s3): update AWS CLI to v2; allow support for multiple databases; allow support for defining sensitive env vars in files (eg Docker secrets)
AWS CLI updated to v2; python removed; glibc added
Added support for multiple databases (note POSTGRES_DATABASE env var is deprecated and replaced by POSTGRES_DATABASES) -- this means this version of the docker image is not backward-compatible with previosu releases.
Added support for _FILE env vars for sensitive values. This allows using the image with Docker secrets.
For example,
```
service:
postgres-backup
environment:
POSTGRES_PASSWORD_FILE=/run/secrets/postgres-password
...
secrets:
- postgres-password
```
4 years ago
Ellis Percival
e3715ddf35
Update alpine from 3.7 to 3.9
6 years ago
Konstantin Shilovskiy
ce7af27ab9
Use latest alpine versions
7 years ago
Jérôme Parmentier
c2c45be6bb
Replace deprecated MAINTAINER by LABEL
7 years ago
Georg Ledermann
9c367e586c
Fix bash typo
8 years ago
Claudio Mignanti
55173945e1
postgres-backup-s3: Parameters S3_ENDPOINT and S3_S3V4 added.
# Conflicts:
# postgres-backup-s3/backup.sh
8 years ago
Claudio Mignanti
4cc6bde0bb
postgres-backup-s3: Prepend the database name to DB dump inside S3 bucket
8 years ago
Mikkel Rostved
b597b62899
Lock to version 3.5 of Alpine
8 years ago
Mikkel Rostved
83ae010322
Bumped alpine version to edge to get pg_dump version 9.6.1
8 years ago
Teoh Han Hui
ee8a2b855a
Add POSTGRES_EXTRA_OPTS to README
8 years ago
Santiago Palladino
51d17b5836
Upgrade alpine version from 3.2 to 3.4 for pgbackup images
Version 3.2 has an incompatibility with docker cloud: it cannot
resolve services, due to a resolv.conf issue. Latest version seems
to work fine.
8 years ago
Santiago Palladino
2f4238f8b4
Add POSTGRES_EXTRA_OPTS env variable to postgres-backup-s3
Add optional env variable that can be used to pass extra options
to pg_dump, such as restrict the set of tables dumped.
9 years ago
Kieran Brownlees
56735a5775
Set pipefail so a pg_dump command will cause a failure
9 years ago
Miku Laitinen
8eea309b04
[FEAT] Enabled postgres container linking and added a Docker Compose linking example in the README.md.
9 years ago
Gabriel Sobrinho
25e2f759e3
Remove superfluous parentheses
9 years ago
Johannes Schickling
ad82ab0b6b
postgres backup s3
9 years ago
Johannes Schickling
0afddddc89
postgres backup s3
9 years ago