version: '3.7' services: grafana: image: grafana/grafana ports: - 3000:3000 volume: - "$PWD/data:/var/lib/grafana"