My goal is to have multiple Grafana instances (running in docker containers), that are using the same grafana.db file (i.e. have the same users, dashboards, ā¦).
I did a test with 2 docker containers. For both, I mounted the same volume to /var/lib/grafana, where the grafana.db file is located.
So far it seems like it is working fine. When doing a change in one instance, it shows up in the other as well. However, I want to avoid running into trouble at a later stage. So my question is:
Is there any reason one should not use the same grafana.db file with multiple Grafana instances in different docker containers at the same time?
Yep that is what sqlite docu says. So if they dont rexommend it, I would stay away from it.
Sqlite, also as the name implies, is not designed for multi server use. For that I wpuld rexommend as Sqllite docu itself rexommends to use a real database such as mysql postgres etc