Skip to content

pg_hba.conf does not match postgres image #1

Open
@belak

Description

@belak

This means that anything not connecting via the local socket will fail, so most applications linking the postgres container will not work.

At least for me, pg_hba.conf was missing this:

host all all 0.0.0.0/0 md5

Normally this would be set up in https://github.com/docker-library/postgres/blob/master/9.5/docker-entrypoint.sh, but because we use initdb during the upgrade, that never happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions