docker-compose.yml (Grafana)
Jump to navigation
Jump to search
↑ https://community.grafana.com/t/new-docker-install-with-persistent-storage-permission-problem/10896/13
- https://grafana.com/docs/grafana/latest/setup-grafana/installation/docker/
- https://grafana.com/docs/grafana-cloud/quickstart/docker-compose-linux/
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
Without environment:
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
Errors
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
Solution: add user: "$UID:$GID"
[1]
Related terms
docker-compose.yml
docker run: docker run -d --name=grafana -p 3000:3000 grafana/grafana
- Docker-compose.yml examples
- Docker-compose: volumes
docker volume ls
grafana-cli plugins install
See also
- Grafana, Grafana datasources, Grafana Alerting, Grafana installation, Grafana Labs, Grafana Changelog,
Grafana logs
,docker-compose.yml (Grafana)
, Grafana Loki, Grafana Tanka, StatsD and Graphite,grafana-cli
, Loki, LogQL, Grafana Enterprise, Grafana Cloud, Grafana alerts, Amazon Grafana, Grafana OnCall, Grafana Tempo, Grafana Mimir, Grafana agent, plugins, Terraform, Grafana dashboards,/etc/grafana/grafana.ini
, Grafana Pyroscope
Advertising: