captainVersion: 4
services:
    $$cap_appname:
        image: grafana/grafana@$$cap_version
        restart: always
        volumes:
            - $$cap_appname-config:/etc/grafana
            - $$cap_appname-data:/var/lib/grafana
        caproverExtra:
            containerHttpPort: '3000'
caproverOneClickApp:
    variables:
        - label: Grafana Docker Hash
          defaultValue: sha256:4171e7e8c44bb17f9e5bffdcd3710a6d624828d73b4eb638682543c5ce86bbe9
          description: Starts with 'sha256:'.  Find on Docker Hub.  Default is latest as of 2020-06-30.
          id: $$cap_version
    instructions:
        end: Grafana is now starting.  You can log in with the default login/password of admin/admin.
        start: 'Read more about Grafana: https://grafana.com/'
    displayName: Grafana
    isOfficial: true
    description: Grafana allows you to query, visualize, alert on and understand your metrics no matter where they are stored.
    documentation: https://hub.docker.com/r/grafana/grafana
