Solved Mautic Plugins
We are creating a custom plugin for Mautic. It is evident that we do not want it to be deleted with updates or restarting the app.
The plugins folder doesn't get overwritten every time it's updated o restarted, right?.
Yes, correct, it won't get overrwritten. The plugins that come from upstream will be updated automatically as well - https://git.cloudron.io/cloudron/mautic-app/-/blob/master/start.sh#L129