Skip to content

Commit a127ed8

Browse files
authored
Update local dev environment to postgres 18 (#12236)
* Update local dev environment to postgres 18
1 parent cf017c0 commit a127ed8

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

compose.override.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ services:
7272
- ${OL_MOUNT_DIR:-.}:/openlibrary
7373

7474
db:
75-
image: postgres:${POSTGRES_VERSION:-9.3}
75+
image: postgres:${POSTGRES_VERSION:-18.3}
7676
networks:
7777
- dbnet
7878
environment:
@@ -82,10 +82,9 @@ services:
8282
volumes:
8383
- ${OL_MOUNT_DIR:-.}:/openlibrary
8484
# Any files inside /docker-entrypoint-initdb.d/ will get run by postgres
85-
# if the db is empty (which as of now is always, since we don't store the
86-
# postgres data anywhere).
85+
# if the db is empty (ie during first run).
8786
- ./docker/ol-db-init.sh:/docker-entrypoint-initdb.d/ol-db-init.sh
88-
- ol-postgres:/var/lib/postgresql/data
87+
- ol-postgres:/var/lib/postgresql
8988

9089
covers:
9190
build:

0 commit comments

Comments
 (0)