Remove port.

This commit is contained in:
James
2017-06-14 12:50:23 -07:00
parent 7bfc233fc5
commit 8207735aec

View File

@@ -23,7 +23,7 @@ localhost)
docker_ip)
if [[ ! -z ${DOCKER_HOST} ]]
then
DOCKER_IP=`echo ${DOCKER_HOST} | awk -F/ '{print $3}'`
DOCKER_IP=`echo ${DOCKER_HOST} | awk -F/ '{print $3}'| awk -F: '{print $1}'`
fi
export POSTGRES_HOST=${DOCKER_IP:-localhost}
export POSTGRES_PORT=15432