diff --git a/setup.sh b/setup.sh index 1a50933..e46492c 100755 --- a/setup.sh +++ b/setup.sh @@ -5,6 +5,8 @@ CONF="/etc/postgresql/9.4/main/postgresql.conf" # Restrict subnet to docker private network echo "host all all 172.17.0.0/16 md5" >> /etc/postgresql/9.4/main/pg_hba.conf +# And allow access from DockerToolbox / Boottodocker on OSX +echo "host all all 192.168.0.0/16 md5" >> /etc/postgresql/9.4/main/pg_hba.conf # Listen on all ip addresses echo "listen_addresses = '*'" >> /etc/postgresql/9.4/main/postgresql.conf echo "port = 5432" >> /etc/postgresql/9.4/main/postgresql.conf