I have written a tutorial about how to deploy Piwik to Cloud Foundry: https://berndsgn.ch/run-piwik-on-cloud-foundry/
However, I am not too happy about how I have to edit the files which are part of Piwik additionally to the
bootstrap.php file. Also, if I add a
config/config.ini.php file, the app doesn't start on Cloud Foundry so I had to edit the
global.ini.php directly which is far from optimal. Could you guys give me some inisghts on how to improve the blog post and how I could avoid having to change the files mentioned above? The whole goal is to have a database configuration which is dynamically read from the environment variables on start up of the app.
I'd recommend to have a look at https://github.com/piwik/piwik/issues/10257 and https://github.com/piwik/piwik/issues/10914