Selaa lähdekoodia

Predefine url to let the environment variable overrider do its job

Soulou 9 vuotta sitten
vanhempi
commit
e2c5fac9df
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      conf/defaults.ini

+ 3 - 0
conf/defaults.ini

@@ -65,6 +65,9 @@ host = 127.0.0.1:3306
 name = grafana
 name = grafana
 user = root
 user = root
 password =
 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 "postgres", use either "disable", "require" or "verify-full"
 # For "mysql", use either "true", "false", or "skip-verify".
 # For "mysql", use either "true", "false", or "skip-verify".