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
root@da94ae7a13df:/# postgres -C hba_filepostgres: could not access the server configuration file "/var/lib/postgresql/data/postgresql.conf": No such file or directory
# need to run `initdb` or create and configure the `postgresql.conf` fileroot@da94ae7a13df:/# gosu postgres initdbroot@da94ae7a13df:/# postgres -C hba_file/var/lib/postgresql/data/pg_hba.conf
I would hesitate to append to a file in a different/custom location since users might be using that bug to skip/ignore our pg_hba.conf modification and we'd possibly make them less secure than they were expecting.
It seems that location of
pg_hba.conf
file is just hardcoded:postgres/15/bookworm/docker-entrypoint.sh
Line 253 in 8a631b9
But If I set my custom hba_file, then initdb will create redundant
$PGDATA/pg_hba.conf
file.The text was updated successfully, but these errors were encountered: