diff --git a/bitnami/pgpool/4/debian-10/docker-compose.yml b/bitnami/pgpool/4/debian-10/docker-compose.yml index 69bb2475b368..f64984d39ee5 100644 --- a/bitnami/pgpool/4/debian-10/docker-compose.yml +++ b/bitnami/pgpool/4/debian-10/docker-compose.yml @@ -1,7 +1,7 @@ version: '2.1' services: pg-0: - image: docker.io/bitnami/postgresql-repmgr:11 + image: docker.io/bitnami/postgresql-repmgr:14 ports: - 5432 volumes: @@ -18,7 +18,7 @@ services: - REPMGR_NODE_NAME=pg-0 - REPMGR_NODE_NETWORK_NAME=pg-0 pg-1: - image: docker.io/bitnami/postgresql-repmgr:11 + image: docker.io/bitnami/postgresql-repmgr:14 ports: - 5432 volumes: diff --git a/bitnami/pgpool/4/debian-10/rootfs/opt/bitnami/scripts/libpgpool.sh b/bitnami/pgpool/4/debian-10/rootfs/opt/bitnami/scripts/libpgpool.sh index 8b1b557edf56..8122a2319d92 100644 --- a/bitnami/pgpool/4/debian-10/rootfs/opt/bitnami/scripts/libpgpool.sh +++ b/bitnami/pgpool/4/debian-10/rootfs/opt/bitnami/scripts/libpgpool.sh @@ -79,7 +79,7 @@ export PGPOOL_POSTGRES_CUSTOM_USERS="${PGPOOL_POSTGRES_CUSTOM_USERS:-}" export PGPOOL_POSTGRES_CUSTOM_PASSWORDS="${PGPOOL_POSTGRES_CUSTOM_PASSWORDS:-}" export PGPOOL_AUTO_FAILBACK="${PGPOOL_AUTO_FAILBACK:-no}" export PGPOOL_BACKEND_APPLICATION_NAMES="${PGPOOL_BACKEND_APPLICATION_NAMES:-}" -export PGPOOL_AUTHENTICATION_METHOD="${PGPOOL_AUTHENTICATION_METHOD:-md5}" +export PGPOOL_AUTHENTICATION_METHOD="${PGPOOL_AUTHENTICATION_METHOD:-scram-sha-256}" export PGPOOL_AES_KEY="${PGPOOL_AES_KEY:-$(head -c 20 /dev/urandom | base64)}" # SSL diff --git a/bitnami/pgpool/README.md b/bitnami/pgpool/README.md index ee7882aa6709..06a80f7645ea 100644 --- a/bitnami/pgpool/README.md +++ b/bitnami/pgpool/README.md @@ -43,7 +43,7 @@ Non-root container images add an extra layer of security and are generally recom Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/). -* [`4`, `4-debian-10`, `4.3.1`, `4.3.1-debian-10-r66`, `latest` (4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-pgpool/blob/4.3.1-debian-10-r66/4/debian-10/Dockerfile) +* [`4`, `4-debian-10`, `4.3.1`, `4.3.1-debian-10-r67`, `latest` (4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-pgpool/blob/4.3.1-debian-10-r67/4/debian-10/Dockerfile) Subscribe to project updates by watching the [bitnami/pgpool GitHub repo](https://github.com/bitnami/bitnami-docker-pgpool). @@ -155,7 +155,7 @@ networks: driver: bridge services: pg-0: - image: bitnami/postgresql-repmgr:11 + image: bitnami/postgresql-repmgr:14 ports: - 5432 volumes: @@ -171,7 +171,7 @@ services: - REPMGR_NODE_NAME=pg-0 - REPMGR_NODE_NETWORK_NAME=pg-0 pg-1: - image: bitnami/postgresql-repmgr:11 + image: bitnami/postgresql-repmgr:14 ports: - 5432 volumes: @@ -276,7 +276,7 @@ Pgpool configuration: - `PGPOOL_POSTGRES_CUSTOM_PASSWORDS`: List of comma or semicolon separated list for postgresql user passwords. These are the corresponding passwords for the users in `PGPOOL_POSTGRES_CUSTOM_USERS`. No defaults. - `PGPOOL_AUTO_FAILBACK`: Enables pgpool `[auto_failback](https://www.pgpool.net/docs/latest/en/html/runtime-config-failover.html)`. Default to `no`. - `PGPOOL_BACKEND_APPLICATION_NAMES`: Comma separated list of backend nodes `application_name`. No defaults. -- `PGPOOL_AUTHENTICATION_METHOD`: Specifies the authentication method('md5', 'scram-sha-256'). Defaults to `md5` +- `PGPOOL_AUTHENTICATION_METHOD`: Specifies the authentication method('md5', 'scram-sha-256'). Defaults to `scram-sha-256`. - `PGPOOL_AES_KEY`: Specifies the AES encryption key used for 'scram-sha-256' passwords. Defaults to `random string`. PostgreSQL with Replication Manager: @@ -590,6 +590,10 @@ $ docker-compose up pgpool ## Notable Changes +### 4.3.1-debian-10-r67 + +- The ENV `PGPOOL_AUTHENTICATION_METHOD` default value has been changed from `md5` to `scram-sha-256` as our `bitnami/postgresql-repmgr:latest` image now uses PSQL v14, which has `scram-sha-256` as the default auth method. + ### 4.1.1-debian-10-r35 - The Pgpool container has been migrated to a "non-root" user approach. Previously the container ran as the `root` user and the Pgpool daemon was started as the `pgpool` user. From now on, both the container and the Pgpool daemon run as user `1001`. You can revert this behavior by changing `USER 1001` to `USER root` in the Dockerfile. diff --git a/bitnami/pgpool/docker-compose-ldap.yml b/bitnami/pgpool/docker-compose-ldap.yml index 414a34a28a29..3c575698c5f4 100644 --- a/bitnami/pgpool/docker-compose-ldap.yml +++ b/bitnami/pgpool/docker-compose-ldap.yml @@ -1,7 +1,7 @@ version: '2.1' services: pg-0: - image: docker.io/bitnami/postgresql-repmgr:11 + image: docker.io/bitnami/postgresql-repmgr:14 ports: - 5432 volumes: @@ -18,7 +18,7 @@ services: - REPMGR_NODE_NETWORK_NAME=pg-0 - REPMGR_PGHBA_TRUST_ALL=yes pg-1: - image: docker.io/bitnami/postgresql-repmgr:11 + image: docker.io/bitnami/postgresql-repmgr:14 ports: - 5432 volumes: diff --git a/bitnami/pgpool/docker-compose.yml b/bitnami/pgpool/docker-compose.yml index 69bb2475b368..f64984d39ee5 100644 --- a/bitnami/pgpool/docker-compose.yml +++ b/bitnami/pgpool/docker-compose.yml @@ -1,7 +1,7 @@ version: '2.1' services: pg-0: - image: docker.io/bitnami/postgresql-repmgr:11 + image: docker.io/bitnami/postgresql-repmgr:14 ports: - 5432 volumes: @@ -18,7 +18,7 @@ services: - REPMGR_NODE_NAME=pg-0 - REPMGR_NODE_NETWORK_NAME=pg-0 pg-1: - image: docker.io/bitnami/postgresql-repmgr:11 + image: docker.io/bitnami/postgresql-repmgr:14 ports: - 5432 volumes: