Skip to content

Commit 844eca5

Browse files
authored
Update docker-entrypoint.sh
IPv6 default rule added into pg_hba.conf
1 parent 69bc540 commit 844eca5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ if [ "$1" = 'postgres' ]; then
4343
fi
4444

4545
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } >> "$PGDATA/pg_hba.conf"
46+
{ echo; echo "host all all ::/0 $authMethod"; } >> "$PGDATA/pg_hba.conf"
47+
4648

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

0 commit comments

Comments
 (0)