I have tried changing the line in the Dockerfile, but it has not helped yet:
ENV POSTGRES_INITDB_ARGS "--set port=6432 --set max_connections=20 --set max_wal_size=2GB --set listen_addresses=localhost"
ENV POSTGRES_INITDB_ARGS "--set port=6432 --set max_connections=20 --set max_wal_size=2GB --set listen_addresses='localhost'"
Maybe the quotes get lost somehow when using the "--set" option?
Maybe the quotes get lost somehow when using the "--set" option?
$ grep listen $PGDATA/postgresql.conf
listen_addresses = localhost