Docker-compose.yml (Grafana)

From wikieduonline
Revision as of 17:05, 21 October 2020 by Welcome (talk | contribs)
Jump to navigation Jump to search
 version: "3.7"

 services:
   grafana:
        image: grafana/grafana:7.0.6
        container_name: grafana
        ports:
                - "3000:3000"
        restart: always
        volumes:
           - ./grafana_storage:/var/lib/grafana

 volumes:
   grafana_storage:
          driver: local


 version: "3.7"

 services:
   grafana:
        image: grafana/grafana:7.0.6
        container_name: grafana
        ports:
                - "3000:3000"
        environment:
            GF_SECURITY_ADMIN_PASSWORD: CHANGEIT
        restart: always
        volumes:
           - ./grafana_storage:/var/lib/grafana

 volumes:
   grafana_storage:
          driver: local



See also: https://towardsdatascience.com/get-system-metrics-for-5-min-with-docker-telegraf-influxdb-and-grafana-97cfd957f0ac


mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied

Related terms

See also

  • https://community.grafana.com/t/new-docker-install-with-persistent-storage-permission-problem/10896/13
  • Advertising: