Add heroku environment metadata.
Fix port binding.