Postgres: The POSTGRESQL_ADMIN_PASSWORD env variable

Created on 14 Apr 2019  路  2Comments  路  Source: docker-library/postgres

Hi,

Is the POSTGRESQL_ADMIN_PASSWORD environment variable still in use? Or has it ever been?
I added it to my docker-compose.yml based on some tutorial, but then it seems that there is no such a variable at all?

Possibly duplicate with https://github.com/docker-library/postgres/issues/565

question

All 2 comments

I don't think we've ever used that env var name

POSTGRES_PASSWORD is what you're looking for, and setting the POSTGRES_USER will change the superuser account from using the default "postgres" user

For those ending up here with a similar question: the POSTGRESQL_ADMIN_PASSWORD is a thing you may have seen OpenShift, as they use a different Postgres image (centos/postgresql-12-centos7, centos/postgresql-10-centos7, ....or the older used to be named openshift/postgresql-92-centos7).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

qwang07 picture qwang07  路  4Comments

note89 picture note89  路  3Comments

AndriiOmelianenko picture AndriiOmelianenko  路  4Comments

tjamet picture tjamet  路  4Comments

bsctl picture bsctl  路  4Comments