Skip to content

Commit 0efec64

Browse files
committed
Listen on "local" interfaces during init
1 parent 057673e commit 0efec64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ if [ "$1" = 'postgres' ]; then
4545
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } >> "$PGDATA/pg_hba.conf"
4646

4747
# 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
48+
# does not listen on external TCP/IP and waits until start finishes
4949
gosu postgres pg_ctl -D "$PGDATA" \
50-
-o "-c listen_addresses=''" \
50+
-o "-c listen_addresses='localhost'" \
5151
-w start
5252

5353
: ${POSTGRES_USER:=postgres}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy