Docker with HA core, influxdb and grafana

I have a raspberry pi4 where I installed docker, homeassistant, grafana and influxdb
as containers.
I am able to share a link from grafana from a grafana dashboard. This link is visible in a browser but not in home assistant. Do you know why?