docs: postgres 18 documentation (#2046)

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
This commit is contained in:
Ludovic Ortega
2025-10-15 01:09:43 +03:00
committed by GitHub
parent 9d174baa70
commit d95cccac6a
2 changed files with 4 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ services:
links:
- postgres
postgres:
image: postgres
image: postgres:18
environment:
POSTGRES_USER: jellyseerr
POSTGRES_PASSWORD: jellyseerr
@@ -31,6 +31,6 @@ services:
ports:
- '5432:5432'
volumes:
- postgres:/var/lib/postgresql/data
- postgres:var/lib/postgresql/18/docker
volumes:
postgres:

View File

@@ -20,7 +20,8 @@ DB_LOG_QUERIES="false" # (optional) Whether to log the DB queries for debugging.
## PostgreSQL Options
:::caution
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`.
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`.
Refer to the [PostgreSQL Docker documentation](https://hub.docker.com/_/postgres/#pgdata) to learn how to migrate or opt out of this change.
:::
### TCP Connection