1
0
Fork 0
mirror of synced 2024-11-24 17:55:37 -05:00

Make grafana paths configurable.

This commit is contained in:
abednarik 2017-08-04 12:36:22 -03:00
parent f91843bc99
commit 69e22ffac2
2 changed files with 5 additions and 3 deletions

View file

@ -11,11 +11,11 @@
[paths]
# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used)
#
;data = /var/lib/grafana
data = {{ server.paths.data }}
#
# Directory where grafana can store logs
#
;logs = /var/log/grafana
logs = {{ server.paths.logs }}
#################################### Server ####################################
[server]
@ -288,4 +288,3 @@ path = {{ server.dashboards.path }}
;enabled = false
;path = /var/lib/grafana/dashboards
{%- endif %}

View file

@ -4,6 +4,9 @@ Debian:
pkgs:
- grafana
service: grafana-server
paths:
data: /var/lib/grafana
logs: /var/log/grafana
bind:
address: 0.0.0.0
port: 3000