docs: postgres 18 documentation (#2046)
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
This commit is contained in:
@@ -23,7 +23,7 @@ services:
|
|||||||
links:
|
links:
|
||||||
- postgres
|
- postgres
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: postgres:18
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: jellyseerr
|
POSTGRES_USER: jellyseerr
|
||||||
POSTGRES_PASSWORD: jellyseerr
|
POSTGRES_PASSWORD: jellyseerr
|
||||||
@@ -31,6 +31,6 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- '5432:5432'
|
- '5432:5432'
|
||||||
volumes:
|
volumes:
|
||||||
- postgres:/var/lib/postgresql/data
|
- postgres:var/lib/postgresql/18/docker
|
||||||
volumes:
|
volumes:
|
||||||
postgres:
|
postgres:
|
||||||
|
|||||||
@@ -20,7 +20,8 @@ DB_LOG_QUERIES="false" # (optional) Whether to log the DB queries for debugging.
|
|||||||
## PostgreSQL Options
|
## PostgreSQL Options
|
||||||
|
|
||||||
:::caution
|
:::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
|
### TCP Connection
|
||||||
|
|||||||
Reference in New Issue
Block a user