changed deploy hook and configuration file to use internal ip and port on open shift