Skip to content

Commit 819476b

Browse files
authored
Merge pull request #202 from p0123n/master
Update generated "pg_hba.conf" content for IPv6 support
2 parents d2b3854 + 5e7d985 commit 819476b

11 files changed

+11
-11
lines changed

9.2/alpine/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
6767
authMethod=trust
6868
fi
6969

70-
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
70+
{ echo; echo "host all all all $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
7171

7272
# internal start of server in order to allow set-up using psql-client
7373
# does not listen on external TCP/IP and waits until start finishes

9.2/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
6767
authMethod=trust
6868
fi
6969

70-
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
70+
{ echo; echo "host all all all $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
7171

7272
# internal start of server in order to allow set-up using psql-client
7373
# does not listen on external TCP/IP and waits until start finishes

9.3/alpine/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
6767
authMethod=trust
6868
fi
6969

70-
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
70+
{ echo; echo "host all all all $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
7171

7272
# internal start of server in order to allow set-up using psql-client
7373
# does not listen on external TCP/IP and waits until start finishes

9.3/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
6767
authMethod=trust
6868
fi
6969

70-
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
70+
{ echo; echo "host all all all $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
7171

7272
# internal start of server in order to allow set-up using psql-client
7373
# does not listen on external TCP/IP and waits until start finishes

9.4/alpine/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
6767
authMethod=trust
6868
fi
6969

70-
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
70+
{ echo; echo "host all all all $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
7171

7272
# internal start of server in order to allow set-up using psql-client
7373
# does not listen on external TCP/IP and waits until start finishes

9.4/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
6767
authMethod=trust
6868
fi
6969

70-
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
70+
{ echo; echo "host all all all $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
7171

7272
# internal start of server in order to allow set-up using psql-client
7373
# does not listen on external TCP/IP and waits until start finishes

9.5/alpine/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
6767
authMethod=trust
6868
fi
6969

70-
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
70+
{ echo; echo "host all all all $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
7171

7272
# internal start of server in order to allow set-up using psql-client
7373
# does not listen on external TCP/IP and waits until start finishes

9.5/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
6767
authMethod=trust
6868
fi
6969

70-
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
70+
{ echo; echo "host all all all $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
7171

7272
# internal start of server in order to allow set-up using psql-client
7373
# does not listen on external TCP/IP and waits until start finishes

9.6/alpine/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
6767
authMethod=trust
6868
fi
6969

70-
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
70+
{ echo; echo "host all all all $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
7171

7272
# internal start of server in order to allow set-up using psql-client
7373
# does not listen on external TCP/IP and waits until start finishes

9.6/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
6767
authMethod=trust
6868
fi
6969

70-
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
70+
{ echo; echo "host all all all $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
7171

7272
# internal start of server in order to allow set-up using psql-client
7373
# does not listen on external TCP/IP and waits until start finishes

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
6767
authMethod=trust
6868
fi
6969

70-
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
70+
{ echo; echo "host all all all $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
7171

7272
# internal start of server in order to allow set-up using psql-client
7373
# does not listen on external TCP/IP and waits until start finishes

0 commit comments

Comments
 (0)