Grafana + Docker + Let's Encrypt

Hello there. I am using Grafana in Docker container. How should I generate the Let’s Encrypt SSL Certificate? In Host machine or in Docker container? Where is the web-server folder? Certbot need access to “public_html” folder to make .well-known acme validation files while generating SSL Cert.

the public (static http assets) are in /usr/share/grafana/public (inside the container)

I’ve made a directory in this path and put inside some test content. Unfortunately, there is a 404 error when testing the content.

The url to a static file is located in public so the url should be http://yourhost:3000/public/yourfile.html