A docker container which can act as primary or standby in a postgresql replication streaming cluster
667
A docker container which can act as primary or standby in a postgresql replication streaming cluster
This container is based on the offical postgresql docker container, currently 9.6-alpine. If you would like to see how to extend this container, then please refer to that guide.
This container can be used in the same manner as the offical postgresql docker container with a couple exceptions:
PRIMARY=yes must be specified for the primary containerpg-primaryStarting a primary (for testing):
docker run --rm -it -e PRIMARY=yes --name pg-primary ca0abinary/postgres-cluster
Starting a standby (for testing):
docker run --rm -it --link pg-primary:pg-primary ca0abinary/postgres-cluster
Content type
Image
Digest
Size
13.7 MB
Last updated
over 9 years ago
docker pull ca0abinary/postgres-cluster