docs: add a warning about the new mount point in Postgres (#1968)

* docs: add a warning about the new mount point in Postgres

* fix: update path

Co-authored-by: fallenbagel <98979876+fallenbagel@users.noreply.github.com>

---------

Co-authored-by: fallenbagel <98979876+fallenbagel@users.noreply.github.com>
This commit is contained in:
Gauthier
2025-10-06 02:54:14 +02:00
committed by GitHub
parent 9ca63ba504
commit 42eec245b7

View File

@@ -19,6 +19,10 @@ 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`.
:::
### TCP Connection
If your PostgreSQL server is configured to accept TCP connections, you can specify the host and port using the `DB_HOST` and `DB_PORT` environment variables. This is useful for remote connections where the server uses a network host and port.