Sign inSign up

insurgate/pg-replica

By insurgate

•Updated 14 days ago

This is a simple Docker image for a Postgres replica

Image
Databases & storage
1

353

insurgate/pg-replica repository overview

⁠Postgres Replica

This is a simple Docker image for a Postgres replica.

On first run, it will initialize the data directory with pg_basebackup.

⁠Usage

docker run -d --name pg-replica -e POSTGRES_HOST=primary-postgres -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=password -e POSTGRES_DB=mydb -v /path/to/replica/data:/var/lib/postgresql/data insurgate/pg-replica

https://github.com/deecide/docker-pg-replica⁠

Tag summary

Content type

Image

Digest

sha256:6fb3b3a7a…

Size

153.8 MB

Last updated

14 days ago

docker pull insurgate/pg-replica