I have installed Grafana in Docker and I am using Portainer as GUI to interact with Grafana. I want to configure the alert email notification in Grafana as a part of my project. To do that one has to change the SMTP setting defaults.ini (installed in windows). By using the basic command in Linux, I can navigate the configuration file for the Grafana Docker container. I am able to see what is inside the file (defaults.ini) but how can I edit it?
when running docker in a container, you must use environmental variables to modify configuration settings:
I haven’t used portainer, but I imagine you just need to revise the
docker run command somewhere