Configure SMTP in Grafana Docker

Hello,
I have the Grafana docker image running it with docker-compose. I would like to configure the SMTP server in the file /etc/grafana/grafana.ini. Has anyone done it? what options do i have
I have tried:

  • I have accessed the image and wanted to modify it inside, but I do not have permissions.
  • I have extracted the file to the host, then modify it and save it again, but I don’t have permissions to delete the initial one.

Then when I can modify the file, what instructions can I do to restart?

Thank you very much in advance,
Edu

Hello,

Sorry, I’m so glad I was able to find a solution to my problem in this thread:

thanks,
Edu