Read db config from DATABASE_URL in production
Read db config from DATABASE_URL in production

Rails 4.2+ does this by default, so it makes sense to use it.

http://guides.rubyonrails.org/configuring.html#configuring-a-database

alphagov/publishing-api,alphagov/publishing-api