kopia lustrzana https://github.com/kartoza/docker-postgis
rodzic
669d52422e
commit
986ec2d5d9
|
@ -80,8 +80,10 @@ eval $CMD
|
|||
|
||||
docker ps | grep ${CONTAINER_NAME}
|
||||
|
||||
IPADDRESS=`docker inspect postgis | grep IPAddress | grep -o '[0-9\.]*'`
|
||||
|
||||
echo "Connect using:"
|
||||
echo "psql -l -p 5432 -h localhost -U $PGUSER"
|
||||
echo "psql -l -p 5432 -h $IPADDRESS -U $PGUSER"
|
||||
echo "and password $PGPASSWORD"
|
||||
echo
|
||||
echo "Alternatively link to this container from another to access it"
|
||||
|
|
Ładowanie…
Reference in New Issue