diff --git a/10/alpine/docker-entrypoint.sh b/10/alpine/docker-entrypoint.sh index ffd2ed501c..5d66ba8dd8 100755 --- a/10/alpine/docker-entrypoint.sh +++ b/10/alpine/docker-entrypoint.sh @@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ - -o "-c listen_addresses='localhost'" \ + -o "-c listen_addresses=''" \ -w start file_env 'POSTGRES_USER' 'postgres' diff --git a/10/docker-entrypoint.sh b/10/docker-entrypoint.sh index a30e6f759a..000967a40c 100755 --- a/10/docker-entrypoint.sh +++ b/10/docker-entrypoint.sh @@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ - -o "-c listen_addresses='localhost'" \ + -o "-c listen_addresses=''" \ -w start file_env 'POSTGRES_USER' 'postgres' diff --git a/9.3/alpine/docker-entrypoint.sh b/9.3/alpine/docker-entrypoint.sh index 4bc72cb6b4..f217bf44d5 100755 --- a/9.3/alpine/docker-entrypoint.sh +++ b/9.3/alpine/docker-entrypoint.sh @@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ - -o "-c listen_addresses='localhost'" \ + -o "-c listen_addresses=''" \ -w start file_env 'POSTGRES_USER' 'postgres' diff --git a/9.3/docker-entrypoint.sh b/9.3/docker-entrypoint.sh index c96fea538d..bc132894f5 100755 --- a/9.3/docker-entrypoint.sh +++ b/9.3/docker-entrypoint.sh @@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ - -o "-c listen_addresses='localhost'" \ + -o "-c listen_addresses=''" \ -w start file_env 'POSTGRES_USER' 'postgres' diff --git a/9.4/alpine/docker-entrypoint.sh b/9.4/alpine/docker-entrypoint.sh index 4bc72cb6b4..f217bf44d5 100755 --- a/9.4/alpine/docker-entrypoint.sh +++ b/9.4/alpine/docker-entrypoint.sh @@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ - -o "-c listen_addresses='localhost'" \ + -o "-c listen_addresses=''" \ -w start file_env 'POSTGRES_USER' 'postgres' diff --git a/9.4/docker-entrypoint.sh b/9.4/docker-entrypoint.sh index c96fea538d..bc132894f5 100755 --- a/9.4/docker-entrypoint.sh +++ b/9.4/docker-entrypoint.sh @@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ - -o "-c listen_addresses='localhost'" \ + -o "-c listen_addresses=''" \ -w start file_env 'POSTGRES_USER' 'postgres' diff --git a/9.5/alpine/docker-entrypoint.sh b/9.5/alpine/docker-entrypoint.sh index 4bc72cb6b4..f217bf44d5 100755 --- a/9.5/alpine/docker-entrypoint.sh +++ b/9.5/alpine/docker-entrypoint.sh @@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ - -o "-c listen_addresses='localhost'" \ + -o "-c listen_addresses=''" \ -w start file_env 'POSTGRES_USER' 'postgres' diff --git a/9.5/docker-entrypoint.sh b/9.5/docker-entrypoint.sh index c96fea538d..bc132894f5 100755 --- a/9.5/docker-entrypoint.sh +++ b/9.5/docker-entrypoint.sh @@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ - -o "-c listen_addresses='localhost'" \ + -o "-c listen_addresses=''" \ -w start file_env 'POSTGRES_USER' 'postgres' diff --git a/9.6/alpine/docker-entrypoint.sh b/9.6/alpine/docker-entrypoint.sh index 4bc72cb6b4..f217bf44d5 100755 --- a/9.6/alpine/docker-entrypoint.sh +++ b/9.6/alpine/docker-entrypoint.sh @@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ - -o "-c listen_addresses='localhost'" \ + -o "-c listen_addresses=''" \ -w start file_env 'POSTGRES_USER' 'postgres' diff --git a/9.6/docker-entrypoint.sh b/9.6/docker-entrypoint.sh index c96fea538d..bc132894f5 100755 --- a/9.6/docker-entrypoint.sh +++ b/9.6/docker-entrypoint.sh @@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ - -o "-c listen_addresses='localhost'" \ + -o "-c listen_addresses=''" \ -w start file_env 'POSTGRES_USER' 'postgres'