https://github.com/5monkeys/docker-postgres
https://github.com/5monkeys/docker-postgres
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/5monkeys/docker-postgres
- Owner: 5monkeys
- Created: 2017-12-05T14:29:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-06T11:43:46.000Z (over 8 years ago)
- Last Synced: 2025-06-08T09:47:17.513Z (about 1 year ago)
- Language: Shell
- Size: 9.77 KB
- Stars: 0
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-postgres
[](https://hub.docker.com/r/5monkeys/postgres/)
Docker image for PostgreSQL with support for WAL archiving using
[OmniPITR](https://github.com/omniti-labs/omnipitr). This image is based on
the official PostgreSQL [image](https://hub.docker.com/_/postgres/).
## Usage
```
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](https://hub.docker.com/_/postgres/)
for more details.
## Environment variables
### `OMNIPITR_WAL_BACKUP_DIR`
**Default**: `/backup`
The path where OmniPITR will store the WAL files.