Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Differences to official PostgreSQL image #408

Open
rvansa opened this issue May 21, 2021 · 1 comment
Open

Differences to official PostgreSQL image #408

rvansa opened this issue May 21, 2021 · 1 comment

Comments

@rvansa
Copy link

rvansa commented May 21, 2021

There are several differences to the official image. While some of these could be actually improvements as a user who wants to migrate from the Docker Hub-hosted image this is an annoyance:

  • envvars for credentials: POSTGRESQL_* vs. POSTGRES_*
    • the created role is a superuser; this image uses postgres role for the admin ops but the username is non-configurable
  • user id 26 vs 999 (PGDATA directory ownership needs to be changed).
  • non-configurable PGDATA (and some other args)
  • init scripts: official image supports *.sql files, not just *.sh
@pkubatrh
Copy link
Member

We are welcome to PRs for getting the images closer to upstream container images, but not a priority for the team right now. This would need to be ideally non-breaking for existing instances, but not sure if it can be achieved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants