浏览代码

Predefine url to let the environment variable overrider do its job

Soulou 9 年之前
父节点
当前提交
e2c5fac9df
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      conf/defaults.ini

+ 3 - 0
conf/defaults.ini

@@ -65,6 +65,9 @@ host = 127.0.0.1:3306
 name = grafana
 user = root
 password =
+# Use either URL or the previous fields to configure the database
+# Example: mysql://user:secret@host:port/database
+url =
 
 # For "postgres", use either "disable", "require" or "verify-full"
 # For "mysql", use either "true", "false", or "skip-verify".