Simple PostgreSQL container with no replication or master election.
559
docker.io/tonnerre/postgresql-simple-master provides a simple PostgreSQL container which does not include replication or master election. It is a single PostgreSQL server. The container is designed to be run on a distributed scheduling system (such as Kubernetes).
Certificates must be provided as base64 PEM encoded X.509 certificate and key files. The following files are expected to be present:
If you want to create a test certificate and key, you can do so by invoking the following command:
% openssl req -new -newkey rsa:4096 -keyout tls.key -out tls.crt -x509 -subj /CN=yourhostname % kubectl create secret tls postgresql-test-cert --cert=tls.crt --key=tls.key
Much of the general PostgreSQL configuration is provided automatically. The following files are expected to be mounted to /config:
Since by definition postgresql-simple-master is single-homed, this container is only useful for setups where outages of 20 minutes or more (rescheduling and startup interval) can be tolerated. An example would be a system where the PostgreSQL database is only used to synchronise data into an in-memory cache.
Content type
Image
Digest
Size
480.1 MB
Last updated
about 9 years ago
docker pull tonnerre/postgresql-simple-master