Skip to content

Mount grafana.ini from Host for Editable Grafana Configuration #682

Description

@MPLA101

To ensure that we can easily make persistent changes to the Grafana configuration (grafana.ini), we need to mount the grafana.ini file from the host to the Docker container. This will allow us to modify the configuration without needing to access the container directly, ensuring changes persist across container restarts.

Action Required:

•	Update the Grafana Docker run command to include a bind mount for grafana.ini from the host machine.
•	Example of the updated docker run command:

docker run -d --name rocketpool_grafana -v /path/on/host/grafana.ini:/etc/grafana/grafana.ini -v /var/lib/docker/volumes/rocketpool_grafana-storage/_data:/var/lib/grafana -p 3100:3100 grafana/grafana:9.5.18

Activity

  1. jshufro commented on Oct 18, 2024

    @jshufro
    Contributor

    this can be done with a line in ~/.rocketpool/override/grafana.yml

  2. MPLA101 commented on Oct 28, 2024

    @MPLA101
    Author

    Thanks @jshufro
    That worked. I configured SMTP as per https://docs.rocketpool.net/guides/node/grafana
    but when sending test email, I am getting below error.
    logger=ngalert.notifier.email t=2024-10-28T17:53:16.086051629Z level=error msg="Missing receiver"
    logger=ngalert.notifier.email t=2024-10-28T17:53:16.086094569Z level=error msg="Missing group labels"

    Any Idea what might be wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions