You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support more environment variables in PostgreSQL container #278
With the move from md5 to scram-sha-256 in the PostgreSQL 14.x containers, I find myself needing to set the POSTGRES_HOST_AUTH_METHOD and potentially POSTGRES_INITDB_ARGS. Seems like it would be good to flesh out the rest of the currently supported environment variables of the official PostgreSQL container. The ones not yet supported are:
Activity
santi commentedon Mar 30, 2024
These environment variables can be set through the
.with_env(<env_var>, <value>)API on the container itself. Like this:ksquaredkey commentedon Mar 30, 2024
Nice - thanks @santi ! I haven't had the cycles to come back and refactor my original PR but this is a much cleaner, flexible method, so no need.