1
0

maintenance: upgrade to postgres:17.7-trixie in docs and for Testcontainers (#222)

Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: http://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/222
Reviewed-by: Stefan Begerad <stefan.begerad@hostsharing.net>
This commit is contained in:
Michael Hoennig
2026-05-12 10:03:20 +02:00
parent 62307a0764
commit c2ddf90f8c
10 changed files with 61 additions and 26 deletions
+3 -3
View File
@@ -24,7 +24,7 @@ The module auto_explain can be used to automatically run EXPLAIN on long-running
To use this extension and module, we extended the PostgreSQL-Docker-image:
```Dockerfile
FROM postgres:15.5-bookworm
FROM postgres:17.7-trixie
RUN apt-get update && \
apt-get install -y postgresql-contrib && \
@@ -36,7 +36,7 @@ COPY etc/postgresql-log-slow-queries.conf /etc/postgresql/postgresql.conf
And create an image from it:
```sh
docker build -t postgres-with-contrib:15.5-bookworm .
docker build -t postgres-with-contrib:17.7-trixie .
```
Then we created a config file for PostgreSQL in `etc/postgresql-log-slow-queries.conf`:
@@ -61,7 +61,7 @@ version: '3.8'
services:
postgres:
image: postgres-with-contrib:15.5-bookworm
image: postgres-with-contrib:17.7-trixie
container_name: custom-postgres
environment:
POSTGRES_PASSWORD: password