We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 99cb807 + ed312dc commit 7948721Copy full SHA for 7948721
1 file changed
packages/server/src/services/postgres.ts
@@ -19,7 +19,8 @@ export function getMountPath(dockerImage: string): string {
19
if (versionMatch?.[1]) {
20
const version = Number.parseInt(versionMatch[1], 10);
21
if (version >= 18) {
22
- return `/var/lib/postgresql/${version}/data`;
+ // PostgreSQL 18+ uses /var/lib/postgresql/{version}/docker as the default PGDATA
23
+ return `/var/lib/postgresql/${version}/docker`;
24
}
25
26
return "/var/lib/postgresql/data";
0 commit comments