Configuring Play Framework Service Connections
Cloud Foundry provides support for connecting a Play Framework app to services such as MySQL, and Postgres. In many cases, a Play Framework app running on Cloud Foundry can automatically detect and configure connections to services.
By default, Cloud Foundry will detect service connections in a Play Framework app and configure them to use the credentials provided in the Cloud Foundry environment. Auto-configuration will only happen if there is a single service of any of the supported types - MySQL or Postgres.View the source for this page in GitHub