Skip to content

Commit 6b0d42c

Browse files
committed
remove to be tested tags
add proper variable for tagging latest versions of gis/backrest/bouncer add proper command for images in docker
1 parent 3262b60 commit 6b0d42c

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

docs/docker/docker.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -147,30 +147,29 @@ The `postgres-gis` image includes everything in the standard Percona Distributio
147147
|---|---|
148148
| `percona-postgis` | Spatial and geographic objects for PostgreSQL |
149149
150-
Start a `postgres-gis` container as follows: to be tested - placeholders
150+
Start a `postgres-gis` container as follows:
151151
152152
```{.bash data-prompt="$"}
153-
docker run --name container-name -e POSTGRES_PASSWORD=secret -d percona/percona-distribution-postgresql:<!-- to be added: confirm postgres-gis image tag, e.g. ppg17.x-postgres-gis-x.x.x -->
153+
docker run --name container-name -e POSTGRES_PASSWORD=secret -d percona/percona-distribution-postgresql-with-postgis:{{pgsubversion}}
154154
```
155155
156156
Where:
157157
158158
* `container-name` is the name you assign to your container
159159
* `POSTGRES_PASSWORD` is the superuser password
160-
* The image tag identifies the PostGIS-enabled variant. See the [full list of tags :octicons-link-external-16:](https://hub.docker.com/r/percona/percona-distribution-postgresql/tags/) and filter for `gis`.
161160
162161
For more information on deploying and using PostGIS, see [Spatial data handling](../solutions/postgis.md).
163162
164163
## Run the PgBouncer image
165164
166165
[PgBouncer :octicons-link-external-16:](https://www.pgbouncer.org/) is a lightweight connection pooler for PostgreSQL. The Percona PgBouncer image is available separately from the PostgreSQL image and is intended for use alongside it.
167166
168-
Start a PgBouncer container as follows: to be tested - placeholders
167+
Start a PgBouncer container as follows:
169168
170169
```{.bash data-prompt="$"}
171170
docker run --name pgbouncer \
172171
-v /path/to/pgbouncer.ini:/etc/pgbouncer/pgbouncer.ini \
173-
-d percona/percona-pgbouncer:<!-- TBD: confirm pgbouncer image tag, e.g. 1.25.0-1 -->
172+
-d percona/percona-pgbouncer:{{pgbouncerversion}}
174173
```
175174
176175
Where:
@@ -184,12 +183,12 @@ For more information on configuring PgBouncer, see the [PgBouncer documentation
184183
185184
[pgBackRest :octicons-link-external-16:](https://pgbackrest.org/) is a backup and restore solution for PostgreSQL, supporting full, differential, and incremental backups as well as point-in-time recovery. The Percona pgBackRest image is available separately from the PostgreSQL image.
186185
187-
Start a pgBackRest container as follows: to be tested - placeholders
186+
Start a pgBackRest container as follows:
188187
189188
```{.bash data-prompt="$"}
190189
docker run --name pgbackrest \
191190
-v /path/to/pgbackrest.conf:/etc/pgbackrest/pgbackrest.conf \
192-
-d percona/percona-pgbackrest:<!-- TBD: confirm pgbackrest image tag, e.g. 2.57.0-1 -->
191+
-d percona/percona-pgbackrest:{{pgbackrestversion}}
193192
```
194193
195194
Where:

variables.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ pgsubversion: '18.4'
77
pgversion: '18'
88
pspgversion: '18.4.1'
99
pgsmversion: '2.3.2'
10+
pgbouncerversion: '1.25.2'
11+
pgbackrestversion: '2.58.0'
1012

1113

1214
date:

0 commit comments

Comments
 (0)