Docker image for PostgreSQL with support for WAL archiving using OmniPITR. This image is based on the official PostgreSQL image.
docker run \
--name some-postgres \
-e OMNIPITR_WAL_BACKUP_DIR=/opt/backup \
-v /opt/backup:/opt/backup \
5monkeys/postgres
Refer to the official postgres image documentation for more details.
OMNIPITR_WAL_BACKUP_DIRDefault: /backup
The path where OmniPITR will store the WAL files.
docker pull 5monkeys/postgres:latest