added localhost db connection

if Openshift Environment isn't detected, db connection will default to localhost