Skip to content

Commit

Permalink
Persist loki and prometheus data
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzdogan committed Jun 23, 2023
1 parent d9ae347 commit 8c51395
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion environments/grafana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ services:
- "${GRAFANA_LOKI_EXTERNAL_PORT}:3100"
volumes:
- ./loki-config.yaml:/etc/loki/local-config.yaml
- ../../data/loki/:/loki/ # Persist loki filesystem storage, outside the sourcify/ folder
command: -config.file=/etc/loki/local-config.yaml
networks:
- source-verify
Expand Down Expand Up @@ -61,7 +62,7 @@ services:
- "${GRAFANA_PROMETHEUS_EXTERNAL_PORT}:9090"
volumes:
- /etc/prometheus:/etc/prometheus
- prometheus-data:/prometheus
- ../../data/prometheus/:/prometheus
restart: unless-stopped
command:
- "--config.file=/etc/prometheus/prometheus.yml"
Expand Down

0 comments on commit 8c51395

Please sign in to comment.