docker-library / postgres

Docker Official Image packaging for Postgres
http://www.postgresql.org
MIT License
2.19k stars 1.14k forks source link

Environment variables are mismatched to libpq #1021

Closed mcclurem closed 1 year ago

mcclurem commented 1 year ago

Given that libpq uses variables of the form PG, shouldn't the docker image do the same? This makes maintaining env vars particularly confusing throughout a project where the docker image wants the names formatted as POSTGRES_ where all the client apps prefer PG*

yosifkit commented 1 year ago

https://github.com/docker-library/docs/issues/2242#issuecomment-1337949102