We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 057673e commit 0efec64Copy full SHA for 0efec64
docker-entrypoint.sh
@@ -45,9 +45,9 @@ if [ "$1" = 'postgres' ]; then
45
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } >> "$PGDATA/pg_hba.conf"
46
47
# internal start of server in order to allow set-up using psql-client
48
- # does not listen on TCP/IP and waits until start finishes
+ # does not listen on external TCP/IP and waits until start finishes
49
gosu postgres pg_ctl -D "$PGDATA" \
50
- -o "-c listen_addresses=''" \
+ -o "-c listen_addresses='localhost'" \
51
-w start
52
53
: ${POSTGRES_USER:=postgres}
0 commit comments