Any tips on how to share data between 2 add-ons?

I am using the crowdsec add-on. It stores its data in a sqlite DB.
I would like to analyse said DB with another add-on called Metabase.

It doesn’t have to be the live DB, happy to have a daily automation copy it then run and extract stats with Metabases from it.

Any ideas, how and where to do this, I mean is there a shared folder all add-ons can access? Kind of one would mount a volume into a docker image or similar?

I’m no expert on any of this, but if crowdsec can be told to use an external database, like mariadb, there is an add-on for that and you could then log into mariadb from the other add-on.

1 Like

Brilliant idea, thanks. Crowdsec can indeed use a different DB, leaving this link here in case someone else finds his way to this thread: Databases | CrowdSec

Its easily doable since my HA instance also uses PostgreSQL.