So I noticed that everytime you redeploy your plugins disappear. I solved this by mounting /home/piwik/plugins/PluginName:/piwik/plugins/PluginName:ro
and saving my plugin in this directory.
But the plugin is still deactivated after every redeploy. So I added the env var PIWIK_PLUGINS_ACTIVATE in which you can put the name of the plugin and piwik activates it after deploy. This can even be useful if you want to use plugins like DBStats which are disabled by default.
So I noticed that everytime you redeploy your plugins disappear. I solved this by mounting
/home/piwik/plugins/PluginName:/piwik/plugins/PluginName:ro
and saving my plugin in this directory. But the plugin is still deactivated after every redeploy. So I added the env var PIWIK_PLUGINS_ACTIVATE in which you can put the name of the plugin and piwik activates it after deploy. This can even be useful if you want to use plugins like DBStats which are disabled by default.