Use volumes for grafana logs and plugins

This commit is contained in:
Alexis Svinartchouk 2020-05-02 14:01:51 +02:00
parent e1d81c2dee
commit 30fb97a66d
2 changed files with 4 additions and 2 deletions

View File

@ -20,7 +20,7 @@ services:
- 'GF_SESSION_PROVIDER=memory' - 'GF_SESSION_PROVIDER=memory'
collectd: collectd:
build: ./etcher-pro-monitoring/collectd build: ./etcher-pro-monitoring/collectd
privileged: true # needed ? privileged: true
restart: always restart: always
network_mode: host network_mode: host
beep: beep:

View File

@ -1,5 +1,7 @@
[paths] [paths]
data = /data/grafana data = /data/grafana/data
logs = /data/grafana/logs
plugins = /data/grafana/plugins
[auth.anonymous] [auth.anonymous]
enabled = true enabled = true