Hey!
Please a little help with iframe. I have tried quite many things but without a success.
Here’s my embed code from Grafana
<iframe src="http://192.168.8.101:3000/d-solo/FYdO54CMz/outdoor?orgId=1&from=1622768856409&to=1622790456409&panelId=11" width="450" height="200" frameborder="0"></iframe>
Here’s my card conf
type: iframe
url: >-
http://grafana:3000/d-solo/FYdO54CMz/outdoor?orgId=1&from=1622768856409&to=1622790456409&panelId=11
aspect_ratio: 100%
I’m running HA, Grafana, Influxdb2 in Docker and using docker-compose for it. Grafana service has a name grafana: in docker-compose file.
For some reason, HA card conf gets an error " grafana ’s server IP address could not be found."
If I go inside the HA container and check if HA container understands the grafana service and resolves it, it does
bash-5.0# wget http://grafana:3000/d-solo/FYdO54CMz/outdoor?orgId=1&from=1622768856409&to=1622790456409&panelId=11
[1] 270
[2] 271
[3] 272
bash-5.0# Connecting to grafana:3000 (172.18.0.4:3000)
saving to 'outdoor?orgId=1'
outdoor?orgId=1 100% |**********************************************************************************************************************************| 35390 0:00:00 ETA
'outdoor?orgId=1' saved
In docker-compose file, under Grafana service, I have also added env variable, to make Grafana “public”
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
What am I doing wrong?