Skip to content

Changes to Dashboards cannot be saved (grafana) #32

Answered by pbrissaud
abrocksi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

This is a normal behavior. The Grafana data located in /var/lib/grafana is not in a docker volume so all the change are lost when the stack is stopped. If you want to save the Grafana data you add edit the this docker-compose file like this :

services:
  app:
    container_name: suivi-bourse-app
    depends_on:
    - prometheus
    environment:
    - SB_SCRAPING_INTERVAL=${SCRAPING_INTERVAL}
    image: paulbrissaud/suivi-bourse-app:v3.1.0
    restart: unless-stopped
    volumes:
    - ./config.yaml:/home/appuser/.config/SuiviBourse/config.yaml:ro
  grafana:
    container_name: suivi-bourse-graf
    depends_on:
    - prometheus
    image: grafana/grafana:8.4.5
    ports:
    - 3000:300…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pbrissaud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants