DBZ-6216 Update postgres notes to use quay.io images
Also update postgres version currently being used
This commit is contained in:
parent
f32bf343c7
commit
cfca3e41a3
@ -1,8 +1,8 @@
|
|||||||
This module uses the [debezium/postgres:9.6](https://github.com/debezium/container-images/tree/main/postgres/9.6) Docker image maintained by the Debezium team. This image uses a default PostgreSQL 9.6 image on top of which it installs the [Debezium Logical Decoding plugin](https://github.com/debezium/postgres-decoderbufs) which is required in order to be able to receive database events.
|
This module uses the [quay.io/debezium/postgres:10.0](https://github.com/debezium/container-images/tree/main/postgres/10) container image maintained by the Debezium team. This image uses a default PostgreSQL 10.0 image on top of which it installs the [Debezium Logical Decoding plugin](https://github.com/debezium/postgres-decoderbufs) which is required in order to be able to receive database events.
|
||||||
|
|
||||||
## Using the PostgreSQL Server
|
## Using the PostgreSQL Server
|
||||||
|
|
||||||
As mentioned in the [README.md]() file, our Maven build can be used to start a container using either one of these images. The `debezium/postgres:9.6` image is used:
|
As mentioned in the [README.md]() file, our Maven build can be used to start a container using either one of these images. The `debezium/postgres:10.0` image is used:
|
||||||
|
|
||||||
$ mvn docker:start
|
$ mvn docker:start
|
||||||
|
|
||||||
@ -16,6 +16,6 @@ To stop and remove the container, simply use the following commands:
|
|||||||
|
|
||||||
Although using the Maven command is far simpler, the Maven command really just runs a Docker command to start the container, so it's equivalent to:
|
Although using the Maven command is far simpler, the Maven command really just runs a Docker command to start the container, so it's equivalent to:
|
||||||
|
|
||||||
$ docker run -it -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=postgres debezium/postgres:9.6 postgres
|
$ docker run -it -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=postgres quay.io/debezium/postgres:10.0 postgres
|
||||||
|
|
||||||
This will use the `debezium/postgres:9.6` image to start a new container where the PostgreSQL instance uses the settings from [the docker image](https://github.com/debezium/container-images/blob/main/postgres/9.6/postgresql.conf.sample)
|
This will use the `quay.io/debezium/postgres:10.0` image to start a new container where the PostgreSQL instance uses the settings from [the container image](https://github.com/debezium/container-images/tree/main/postgres/10/postgresql.conf.sample)
|
Loading…
Reference in New Issue
Block a user