Grafana in Synology Docker - config.ini?

Hello, using the docker image for grafana (latest)
how do I change settings like:

[security]

allow_embedding = true

[auth.anonymous]

enabled = true

org_name = Main Org.

org_role = Viewer

[users]

allow_sign_up = false

Hello,

I’m not sure of what you are asking. Don’t you have a .ini file?
Your request looks like you can’t reach your grafana.ini file, if that’s the case:
Create a custom ~/grafana.ini file:

[security]
allow_embedding = true

[auth.anonymous]
enabled = true
org_name = Main Org.
org_role = Viewer

[users]
allow_sign_up = false

Push it to the container:

docker run -d --name=grafana -p 3000:3000 -v ~/grafana.ini:/etc/grafana/grafana.ini grafana/grafana:latest

If you can reach your .ini file, you should just modify it as you wish and restart your container.

Please take a look at this:

Regards

1 Like

thx but still I am confused and do not know what I should do

yes, I want to change theses settings inside the .ini file, so that the dashboards can be shown outside grafana.

I do have a docker on my synology nas, startet container grafana
there are several settings inside:

on the explorer I can see that:

I am missing /etc/grafana/ so I should just open this folder and make a .ini file ?

or do I need to mount a other folder in the container?

Do you have a CLI acces:
On your capture, we can clearly see that the config is loaded via /etc/grafana/grafana.ini
6e9ecb524be0113ab1176610f5778208f6431dd6_2_428x500

but the folder and file does not exist
I think I need to mount the folder