Skip to content

Commit d95ccca

Browse files
authored
docs: postgres 18 documentation (#2046)
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
1 parent 9d174ba commit d95ccca

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

compose.postgres.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ services:
2323
links:
2424
- postgres
2525
postgres:
26-
image: postgres
26+
image: postgres:18
2727
environment:
2828
POSTGRES_USER: jellyseerr
2929
POSTGRES_PASSWORD: jellyseerr
3030
POSTGRES_DB: jellyseerr
3131
ports:
3232
- '5432:5432'
3333
volumes:
34-
- postgres:/var/lib/postgresql/data
34+
- postgres:var/lib/postgresql/18/docker
3535
volumes:
3636
postgres:

docs/extending-jellyseerr/database-config.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ DB_LOG_QUERIES="false" # (optional) Whether to log the DB queries for debugging.
2020
## PostgreSQL Options
2121

2222
:::caution
23-
When migrating Postgres from version 17 to 18 in Docker, note that the data mount point has changed. Instead of using `/var/lib/postgresql/data`, the correct mount path is now `/var/lib/postgresql`.
23+
When migrating Postgres from version 17 to 18 in Docker, note that the data mount point has changed. Instead of using `/var/lib/postgresql/data`, the correct mount path is now `/var/lib/postgresql/18/docker`.
24+
Refer to the [PostgreSQL Docker documentation](https://hub.docker.com/_/postgres/#pgdata) to learn how to migrate or opt out of this change.
2425
:::
2526

2627
### TCP Connection

0 commit comments

Comments
 (0)