@@ -18,20 +18,21 @@ docker command line:
1818 to connect to the primary, in the form ` host=<hostname> port=5432 ` . When not set,
1919 the instance role is a primary.
2020* ` POSTGRES_REPLICATION_PASSWORD ` : ** Required** : The password for the ` POSTGRES_REPLICATION_USER ` .
21- * ` POSTGRES_REPLICATION_USER ` : ** Default is ` replicator ` ** : The user that the primary will use to connect
22- to the replica.
23- * ` POSTGRES_REPLICATION_SLOT ` : ** Default is ` replica1 ` ** The replication slot for each replica.
21+ * ` POSTGRES_REPLICATION_USER ` : ** Default is ` replicator ` ** : The user that the replica will use to connect to the primary.
22+ * ` POSTGRES_REPLICATION_SLOT ` : ** Default is ` replica1 ` ** : The replication slot for each replica.
2423 On the primary, this is a comma-separated list of replication slots. On a replica, this is the name
25- of the replication slot used for syncronization .
24+ of the replication slot used for synchronization .
2625* ` POSTGRES_DATABASES ` : ** Optional** : A comma-separated list of databases (and associated owner role,
2726 which has the same name as the database), in addition to the main database.
2827* ` POSTGRES_PASSWORD_<role> ` : ** Optional** : For any database which is created, you can enable
2928 login and set the password for the database owner role by setting this environment variable. Without
3029 this environment variable, the role will not be able to login.
3130* ` POSTGRES_SSL_CERT ` : ** Optional** : The SSL certificate file location for the server, within the container.
31+ Requires ` POSTGRES_SSL_KEY ` to also be set.
3232* ` POSTGRES_SSL_KEY ` : ** Optional** : The SSL private key file location for the server, within the container.
33- * ` POSTGRES_SSL_CA ` : ** Optional** : The SSL authority certificate file location for the server, within the
34- container.
33+ Requires ` POSTGRES_SSL_CERT ` to also be set.
34+ * ` POSTGRES_SSL_CA ` : ** Optional** : The SSL CA certificate file location for client certificate verification.
35+ Only used when ` POSTGRES_SSL_CERT ` and ` POSTGRES_SSL_KEY ` are set.
3536
3637## Running a Primary server
3738
@@ -79,12 +80,17 @@ the replica.
7980
8081## Extensions
8182
82- The docker images also contain [ PostGIS] ( https://postgis.net/ ) and
83- [ pgvector] ( https://github.com/pgvector/pgvector ) extensions.
83+ The docker images include the following extensions:
84+
85+ * [ pg_stat_statements] ( https://www.postgresql.org/docs/current/pgstatstatements.html ) - Pre-loaded for query
86+ performance monitoring. Create the extension with ` CREATE EXTENSION pg_stat_statements; ` to start collecting
87+ statistics.
88+ * [ PostGIS] ( https://postgis.net/ ) - Spatial database extender.
89+ * [ pgvector] ( https://github.com/pgvector/pgvector ) - Vector similarity search.
8490
8591## Bugs, feature requests and contributions
8692
87- You can raise issues and feature requests using
93+ You can raise issues and feature requests using
8894the [ GitHub issue tracker] ( https://github.com/mutablelogic/docker-postgres/issues )
8995or send pull requests. The image is built from
9096the [ Official Docker image] ( https://hub.docker.com/_/postgres ) .
0 commit comments