Flowable on Heroku using Postgres

I am trying to run Flowable-Task, Flowable-Rest on Heroku and IDM is required too from what I have seen. I need to limit the number of Postgres connections to under 20 as that is the maximum the Free Postgres Plan has associated with it. Is there any way to do this?

In application.properties (in tomcat/conf) I have tried setting the following to no avail:

Using flowable-6.5.0

Thank you.

The UI apps are regular Spring Boot apps, as such the default Spring Boot properties apply. The ones you’re looking for are


Thank you very much.