Installing MySql + .Net Core on HassOS running on Raspberry Pi 4

Hi,

I’m working on some custom application written in .Net Core that has MySql database, and would like this application to be installed on Raspberry Pi 4 sitting next to Home Assistant.

Home Assistant is installed the way described here - https://www.home-assistant.io/hassio/installation/, so when I’m ssh to the server I can see the following output once I execute ha host info:

hostname: homeassistant
kernel: 4.19.106-v7l
operating_system: HassOS 3.12

I’m wondering if it is feasible to install both MySql and .Net Core runtime on HassOS and successfully run them?

Or maybe it would make more sense to wrap the application and the database into Docker container and install it as an Add-on in Home Assistant add-ons page?

The idea I have, which might change of course as I get more details :frowning: , is it communicate with Home Assistant over this custom .Net Core application that has some orchestration.

Sorry in case I’m missing something.

Thanks