File tree Expand file tree Collapse file tree 6 files changed +12
-12
lines changed
Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments