So this will be a neato idea -
The ability to toggle addons during app install.
Build the LAMP app to allow for PostgreSQL but make it a togglable option.
Or enabling / disabling LDAP access for apps, or other features as well. This would be neat I think.
We have created a task at https://git.cloudron.io/cloudron/box/-/issues/706 which is in that area. We have to be careful which addons can be made dynamic, since this also affects app backup/restore and the package to support missing/added addons automatically.
@murgero (you probably know this but just writing it out for the wider audience)...
Cloudron was primarily made to install and manage pre-packaged apps. This meant that addons were defined by the package and we don't want end users to make difficult decisions as to what database to use and what caching backend to use. Lesser choices cover 90% of the use cases.
But over time, we saw a lot of demand about custom apps. And thus LAMP app and even allowing custom packages. And now we probably also need dynamic addons (ie. select which database post installation or just before installation). While this is doable, this moves Cloudron more and more into PaaS territory. My initial instinct is that it's fine to venture into this space and maybe cover 90% of the use cases but we have to think through it