Commit
·
cebb886
1
Parent(s):
6ad8bb1
allow IPv6 localhost connections
Browse files
docker-entrypoint-wrapper.sh
CHANGED
@@ -16,6 +16,7 @@ if [ ! -f "/data/postgresql/data/PG_VERSION" ]; then
|
|
16 |
# Modify pg_hba.conf to allow local connections
|
17 |
echo "local all all trust" > /data/postgresql/data/pg_hba.conf
|
18 |
echo "host all all 127.0.0.1/32 trust" >> /data/postgresql/data/pg_hba.conf
|
|
|
19 |
echo "host all all 0.0.0.0/0 trust" >> /data/postgresql/data/pg_hba.conf
|
20 |
fi
|
21 |
|
|
|
16 |
# Modify pg_hba.conf to allow local connections
|
17 |
echo "local all all trust" > /data/postgresql/data/pg_hba.conf
|
18 |
echo "host all all 127.0.0.1/32 trust" >> /data/postgresql/data/pg_hba.conf
|
19 |
+
echo "host all all ::1/128 trust" >> /data/postgresql/data/pg_hba.conf
|
20 |
echo "host all all 0.0.0.0/0 trust" >> /data/postgresql/data/pg_hba.conf
|
21 |
fi
|
22 |
|