Установка Grafana в Docker (Ubuntu 20.04)
Compose-файл:
version: '3.8' services: grafana: image: grafana/grafana user: root container_name: grafana restart: unless-stopped ports: - '3000:3000' volumes: - /grafana:/var/lib/grafana volumes: grafana_data: {}
Запуск проекта:
docker compose -f grafana-compose.yml up -d
-e GF_SECURITY_ADMIN_USER=demo -e GF_SECURITY_ADMIN_PASSWORD=grafana