-if [ ! -z ${TESTING} ] && [ ${TESTING} = 1 ]; then
- if [ ! -z ${HOST_IP} ]; then
- export HOSTNAME=${HOST_IP}:9101
- else
- export HOSTNAME=${SERVICE_IP}:9101
- fi
-fi
-
-export DB_PORT=5432
-if [ ! -z ${URL_JDBC} ] && [ `expr index $URL_JDBC :` != 0 ]; then
- export DB_PORT="${URL_JDBC##*:}"
+if [ ! -z ${HOST_IP} ]; then
+ export HOSTNAME=${HOST_IP}:9101
+else
+ export HOSTNAME=${SERVICE_IP}:9101