Mount pgdata at the directory Postgres 18 actually uses

This commit is contained in:
Esa Kataja
2026-07-31 19:45:00 +03:00
parent ab8c90d445
commit 0a8c36fd82
2 changed files with 5 additions and 5 deletions
+2 -1
View File
@@ -122,7 +122,8 @@ JSON to stdout, nothing else. There is no log table and no log viewer in the app
Two paths hold everything:
- `./pgdata` — the database
- `./pgdata` — the database. Postgres 18 stores it under a version subdirectory (`18/docker`), so
the mount is `/var/lib/postgresql`, not `/var/lib/postgresql/data`
- `./storage` — audio files and avatars
Both are bind mounts. `storage/tmp/` is in-flight conversions and is safe to skip; it's cleared on