Camunda DB connection issue

Am using PostgreSQL DB configuration in my application.yaml, for the first time when I start the application server I was able to see all deployments and process instances and after that it is taking the H2 DB, am not sure from where it is taking and it always asks me for new user creation on Cockpit although there is an user in my PostgreSQL DB.

normally this happens when there is a syntax error in your yaml file. Make sure that the indentations are good. Yaml seems to be very sensitive with that. You also need to make sure you have the spring jdbc dependency added as described in the camunda documentation.

hope that helps.

Seems like yaml file indentations looks correct and I have the dependency as described in the documentation. Is there something else I am missing?