Skip to content

Commit 7beeeab

Browse files
authored
The "all" keyword instead of the IP notation
1 parent 844eca5 commit 7beeeab

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docker-entrypoint.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ if [ "$1" = 'postgres' ]; then
4242
authMethod=trust
4343
fi
4444

45-
{ 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-
45+
{ echo; echo "host all all all $authMethod"; } >> "$PGDATA/pg_hba.conf"
4846

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

0 commit comments

Comments
 (0)