We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 00422f5 + 1b238a7 commit c10afd3Copy full SHA for c10afd3
1 file changed
Makefile
@@ -56,7 +56,7 @@ postgres:
56
docker start postgres || docker run --restart="always" -d -p 5432:5432 --name postgres postgres:9.4.1
57
docker exec postgres createdb -U postgres deis 2>/dev/null || true
58
@echo "To use postgres for local development:"
59
- @echo " export PGHOST=`boot2docker ip 2>/dev/null || echo 127.0.0.1`"
+ @echo " export PGHOST=`docker-machine ip $$(docker-machine active) 2>/dev/null || echo 127.0.0.1`"
60
@echo " export PGPORT=5432"
61
@echo " export PGUSER=postgres"
62
0 commit comments