Skip to content

Postgres 18 needs new pgdata path #1200

@johnny-fridburg

Description

@johnny-fridburg

To Reproduce

  1. Create postgres database, and select image postgres:18
  2. Check logs

Current vs. Expected behavior

As described in this pull request, starting Postgres 18, the pgdata path should be updated to contain the version, so we go from

/var/lib/postgresql/docker

to

/var/lib/postgresql/MAJOR/docker

Example given:

/var/lib/postgresql/18/docker

Provide environment information

Ubuntu 24.04
Dokploy Version v0.25.6

Which area(s) are affected? (Select all that apply)

Databases

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

Maybe, need help

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions