allomov
12/4/2015 - 12:27 PM

environment-variables-for-java-buildpack.envrc

export BUILDPACK_ROOT=/home/ubuntu/playground/java-buildpack
export PATH=$BUILDPACK_ROOT/bin:$PATH
export JBP_LOG_LEVEL=DEBUG
export TMPDIR=$HOME/tmp
export VCAP_APPLICATION="{}"
export VCAP_SERVICES="{}"
export PORT=8080
export MEMORY_LIMIT="2g"
export DATABASE_URL="mysql://$mysql_ip:3306/dbname"
export USER=ubuntu
export JBP_CONFIG_TOMCAT_RESOURCE_PATH=resources
export JBP_CONFIG_TOMCAT='{tomcat: { version: "7.0.+" }}'
export JBP_CONFIG_OPEN_JDK_JRE='{jre: { version: "1.7.0_+" }}'