Skip to content

Cannot create a database with --auth-local=md5 #280

Closed
@deinspanjer

Description

@deinspanjer

I am pretty sure this worked with an older version of the docker-entrypoint.sh, but I might be confusing it for a custom one I was using. :/

If you try to use the --auth-local=md5 argument to initdb, it fails because the password is not set.

Looking at entrypoint, the password handling comes after initdb, but it seems like it would make sense to add host all all all @authmethodhost@ to the pg_hba.conf.sample file and then let initdb do its thing instead of adding the line afterward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions