mirror of
https://github.com/bitnami/containers.git
synced 2026-04-03 15:57:46 +08:00
[bitnami/postgresql-repmgr] Release 12.14.0-debian-11-r2 (#24340)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -2,11 +2,11 @@ FROM docker.io/bitnami/minideb:bullseye
|
||||
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
||||
org.opencontainers.image.description="Application packaged by Bitnami" \
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
||||
org.opencontainers.image.created="2023-02-17T17:19:06Z" \
|
||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.ref.name="12.14.0-debian-11-r1" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr" \
|
||||
org.opencontainers.image.ref.name="12.14.0-debian-11-r2" \
|
||||
org.opencontainers.image.title="postgresql-repmgr" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
org.opencontainers.image.version="12.14.0"
|
||||
@@ -22,8 +22,8 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
RUN install_packages ca-certificates curl libbsd0 libedit2 libffi7 libgcc-s1 libgmp10 libgnutls30 libhogweed6 libicu67 libidn2-0 libldap-2.4-2 liblzma5 libmd0 libnettle8 libp11-kit0 libpcre3 libreadline8 libsasl2-2 libsqlite3-0 libssl1.1 libstdc++6 libtasn1-6 libtinfo6 libunistring2 libuuid1 libxml2 libxslt1.1 locales procps zlib1g
|
||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
||||
COMPONENTS=( \
|
||||
"postgresql-repmgr-12.14.0-0-linux-${OS_ARCH}-debian-11" \
|
||||
"gosu-1.16.0-1-linux-${OS_ARCH}-debian-11" \
|
||||
"postgresql-repmgr-12.14.0-1-linux-${OS_ARCH}-debian-11" \
|
||||
"gosu-1.16.0-2-linux-${OS_ARCH}-debian-11" \
|
||||
) && \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
{
|
||||
"gosu": {
|
||||
"arch": "amd64",
|
||||
"digest": "9ab9654690d90d3c49ff66fb1eb286487e318adc899d036bc45922f6b176865b",
|
||||
"digest": "f6056076afb745fd7d9d87d20f71e7248d63330352cf5ae0be2130b7f44a8cfa",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.16.0-1"
|
||||
"version": "1.16.0-2"
|
||||
},
|
||||
"postgresql-repmgr": {
|
||||
"arch": "amd64",
|
||||
"digest": "1be537a26c40d4715dc0ebecf49340c895a24802855767831a7bf6b0899797d4",
|
||||
"digest": "61fd38684e4b3d6ee2da505e0bceff49d8424c96be6be769b4219962831511b3",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "12.14.0-0"
|
||||
"version": "12.14.0-1"
|
||||
}
|
||||
}
|
||||
@@ -131,7 +131,7 @@ docker run -it --rm \
|
||||
psql -h pg-0 -U postgres
|
||||
```
|
||||
|
||||
### Using Docker Compose
|
||||
### Using a Docker Compose file
|
||||
|
||||
When not specified, Docker Compose automatically sets up a new network and attaches all deployed services to that network. However, we will explicitly define a new `bridge` network named `my-network`. In this example we assume that you want to connect to the PostgreSQL server from your own custom application image which is identified in the following snippet by the service name `myapp`.
|
||||
|
||||
@@ -324,7 +324,7 @@ When enabling TLS, PostgreSQL will support both standard and encrypted traffic b
|
||||
1. Using `docker run`
|
||||
|
||||
```console
|
||||
docker run \
|
||||
$ docker run \
|
||||
-v /path/to/certs:/opt/bitnami/postgresql/certs \
|
||||
-e POSTGRESQL_ENABLE_TLS=yes \
|
||||
-e POSTGRESQL_TLS_CERT_FILE=/opt/bitnami/postgresql/certs/postgres.crt \
|
||||
@@ -368,7 +368,7 @@ sudo chgrp -R root /path/to/custom-conf/
|
||||
sudo chmod -R g+rwX /path/to/custom-conf/
|
||||
```
|
||||
|
||||
#### Step 1: Run the PostgreSQL image mounting a directory
|
||||
#### Step 1: Run the PostgreSQL image
|
||||
|
||||
Run the PostgreSQL image, mounting a directory from your host.
|
||||
|
||||
@@ -398,7 +398,7 @@ services:
|
||||
- /path/to/custom-conf/:/bitnami/repmgr/conf/
|
||||
```
|
||||
|
||||
#### Step 2: Edit the configuration file
|
||||
#### Step 2: Edit the configuration
|
||||
|
||||
Edit the configuration on your host using your favorite editor.
|
||||
|
||||
@@ -406,7 +406,7 @@ Edit the configuration on your host using your favorite editor.
|
||||
vi /path/to/custom-conf/postgresql.conf
|
||||
```
|
||||
|
||||
#### Step 3: Restart PostgreSQL container
|
||||
#### Step 3: Restart PostgreSQL
|
||||
|
||||
After changing the configuration, restart your PostgreSQL container for changes to take effect.
|
||||
|
||||
@@ -455,7 +455,7 @@ sudo chgrp -R root /path/to/extra-custom-conf/
|
||||
sudo chmod -R g+rwX /path/to/extra-custom-conf/
|
||||
```
|
||||
|
||||
#### Step 1: Run the PostgreSQL image
|
||||
#### Step 1: Deploy the PostgreSQL image
|
||||
|
||||
Run the PostgreSQL image, mounting a directory from your host.
|
||||
|
||||
@@ -488,7 +488,7 @@ services:
|
||||
- /path/to/custom-conf/:/bitnami/repmgr/conf/
|
||||
```
|
||||
|
||||
#### Step 2: Edit the configuration
|
||||
#### Step 2: Edit the configuration file
|
||||
|
||||
Edit the configuration on your host using your favorite editor.
|
||||
|
||||
@@ -496,7 +496,7 @@ Edit the configuration on your host using your favorite editor.
|
||||
vi /path/to/extra-custom-conf/extended.conf
|
||||
```
|
||||
|
||||
#### Step 3: Restart PostgreSQL
|
||||
#### Step 3: Restart the PostgreSQL container
|
||||
|
||||
After changing the configuration, restart your PostgreSQL container for changes to take effect.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user