From 8b430bc0e2dc0f3b66ac1af5bd368d748acd8a7f Mon Sep 17 00:00:00 2001 From: NIMESH GARG <51132740+nimeshgarg@users.noreply.github.com> Date: Sun, 8 Mar 2026 21:43:26 +1000 Subject: [PATCH] Update PostgreSQL image version and volume path --- practicals/week03/main.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/practicals/week03/main.tex b/practicals/week03/main.tex index 93b3e5aa..a4b56d1c 100644 --- a/practicals/week03/main.tex +++ b/practicals/week03/main.tex @@ -627,14 +627,14 @@ \subsection{Moving to a Postgresql Database} \begin{code}[numbers=none]{} services: database: - image: postgres:latest + image: postgres:18.3 restart: always environment: POSTGRES_PASSWORD: verySecretPassword POSTGRES_USER: administrator POSTGRES_DB: todo volumes: - - ./data/db:/var/lib/postgresql/data + - ./data:/var/lib/postgresql app: build: . restart: always