Skip to content

Commit dfef790

Browse files
p0123ntianon
authored andcommitted
Update docker-entrypoint.sh
IPv6 default rule added into pg_hba.conf The "all" keyword instead of the IP notation
1 parent d2b3854 commit dfef790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)