Skip to content
This repository was archived by the owner on Dec 12, 2023. It is now read-only.
This repository was archived by the owner on Dec 12, 2023. It is now read-only.

grafana state not save on docker restart #35

@jlinoff

Description

@jlinoff

The /var/lib/grafana/grafana.db does not persist when the container is stopped and restarted because it is not stored
on the local host. This causes all dashboard to be lost when the container is killed.

This is easily fixable by storing the data in host storage via the GF_PATHS_DATA env var in the docker image, see
this page for details.

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