DEV Community


Grafana (MySQL) + Nginx reverse proxy

Korakrit Chariyasathian
Graduate Software Engineer. Want to be a Programmer. Now working on Automated Tester / Performance Tester. lol
・1 min read
  1. Git clone from korakrit-c/grafana-with-nginx-on-docker.git

    git clone
  2. Make sure you can run docker-compose then starting it

    docker-compose up -d
  3. Create a new config file on "nginx-revers-storage/conf.d/"

    cd nginx-revers-storage/conf.d/
    nano grafana.conf
  4. Add this config

    upstream grafana_dashboard {
      server    grafana_dashboard:3000;
    server {
        listen 80;
        listen [::]:80;
        server_name grafana.local;
        location / {
            proxy_pass http://grafana_dashboard;
  5. Restart nginx

    docker exec nginx_reverse nginx -s reload

Discussion (0)

Forem Open with the Forem app