From cdb4719e08a00ad80e4c6246be7f4881661e3ea8 Mon Sep 17 00:00:00 2001 From: Linus Andersson Date: Fri, 13 Feb 2026 19:08:52 +0100 Subject: [PATCH] docs: use postgres:17-bookworm in tutorial Signed-off-by: Linus Andersson --- docs/getting-started/config/database.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/getting-started/config/database.md b/docs/getting-started/config/database.md index cb482d5dc0..32d9444c1c 100644 --- a/docs/getting-started/config/database.md +++ b/docs/getting-started/config/database.md @@ -211,13 +211,13 @@ You can run Postgres in a Docker container, this is great for local development First we need to pull down the container image, we'll use Postgres 17, check out the [Postgres Version Policy](../../overview/versioning-policy.md#postgresql-releases) to learn which versions are supported. ```shell -docker pull postgres:17.0-trixie +docker pull postgres:17-bookworm ``` Then we just need to start up the container. ```shell -docker run -d --name postgres --restart=always -p 5432:5432 -e POSTGRES_PASSWORD= postgres:17.0-trixie +docker run -d --name postgres --restart=always -p 5432:5432 -e POSTGRES_PASSWORD= postgres:17-bookworm ``` This will run Postgres in the background for you, but remember to start it up again when you reboot your system. @@ -227,11 +227,9 @@ This will run Postgres in the background for you, but remember to start it up ag Another way to run Postgres is to use Docker Compose, here's what that would look like: ```yaml title="docker-compose.local.yaml" -version: '4' - services: postgres: - image: postgres:17.0-trixie + image: postgres:17-bookworm environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: