Hello world,
I have installed grafana (to be used with influxdB source which is filled by HomeAssistant).
I would like to integrate iframe which is not possible with default settings. I have thus tried to change it with no success so far.
Looking at the documentation, I assumed my configuration would work :
volumes:
- '/opt/Docker/Grafana:/var/lib/grafana'
- '/opt/Docker/Grafana/grafana2.ini:/etc/grafana/grafana2.ini'
environment:
- GF_PATHS_CONFIG=/etc/grafana/grafana2.ini
with :
# set to true if you want to allow browsers to render Grafana in a <frame>, <iframe>, <embed> or <object>. default is false.
;allow_embedding = true
but it does not. When checking the config in the web UI is is still displayed false. Also, of course, using iframe with grafana embedded does not work
How should one do ? should one do ?
My full docker-compose
grafan part is :
grafana:
ports:
- '3000:3000'
container_name: grafana
restart: unless-stopped
volumes:
- '/opt/Docker/Grafana:/var/lib/grafana'
- '/opt/Docker/Grafana/grafana2.ini:/etc/grafana/grafana2.ini'
environment:
- GF_PATHS_CONFIG=/etc/grafana/grafana2.ini
image: grafana/grafana
network_mode: host
environment:
- TZ=Europe/Paris
depends_on:
- "influxdb"
I know the port statement here is useless with network being host, but it is a reminder of the port used
I have installed Gafana in February with latest image (vertion 6.7.1)
Can you please help me debug what’s wrong ?
Many thanks