#!/bin/bash
#
#	Log into the Docker Container
#
dir=`dirname $0`
cd $dir

# Check we are on a Mac
uname=`uname`
if [ "${uname}" != "Darwin" ] ; then
	echo ""
	echo "This command can only be used on OSX"
	echo ""
	exit 1
fi

# Show the default Tomcat page
exec open http://{{&DOCKER_HOST}}:{{&CONTAINER_HTTP_PORT}}/