Grafana+Influxdb over local SSH forwarding

Hello,

I want to do a setup with Grafana+Influxdb where my Influxdb is on a remote server and accessible with a local SSH forwarding.
My config for the autossh plugin is :

local_forwarding:
  - '8086:localhost:8086'

When I connect to my server with my PC, I can access the Influxdb responds properly on localhost:8086 (of my PC) but homeassistant (on a RPI with hass.io) doesn’t seem to see it. No trace of it in the netstat.

How can I make the SSH forwarded port accessible to my grafana and homeassistant containers ?

Thanks by advance

Did you find a solution?

Yes, I did, the problem was that the forwarding was not exposed in the HA container.
The solution I found was to install RaspiOS+Docker and having a hand-made configuration for SSH…