Skip to content

Commit 688f96d

Browse files
authored
Update prac 3 worksheet to reflect Postgres changes to accessing volumes.
Merge pull request #7 from CSSE6400/P3-Update. Docker Compose prac 3 updated to reflect docker-library/postgres#1259 changes.
2 parents 402f5bc + 8b430bc commit 688f96d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

practicals/week03/main.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -627,14 +627,14 @@ \subsection{Moving to a Postgresql Database}
627627
\begin{code}[numbers=none]{}
628628
services:
629629
database:
630-
image: postgres:latest
630+
image: postgres:18.3
631631
restart: always
632632
environment:
633633
POSTGRES_PASSWORD: verySecretPassword
634634
POSTGRES_USER: administrator
635635
POSTGRES_DB: todo
636636
volumes:
637-
- ./data/db:/var/lib/postgresql/data
637+
- ./data:/var/lib/postgresql
638638
app:
639639
build: .
640640
restart: always

0 commit comments

Comments
 (0)