docs(conf): add more info about using database.url
This commit is contained in:
@@ -59,6 +59,9 @@ cert_key =
|
|||||||
|
|
||||||
#################################### Database ####################################
|
#################################### Database ####################################
|
||||||
[database]
|
[database]
|
||||||
|
# You can configure the database connection by specifying type, host, name, user and password
|
||||||
|
# as seperate properties or as on string using the url propertie.
|
||||||
|
|
||||||
# Either "mysql", "postgres" or "sqlite3", it's your choice
|
# Either "mysql", "postgres" or "sqlite3", it's your choice
|
||||||
type = sqlite3
|
type = sqlite3
|
||||||
host = 127.0.0.1:3306
|
host = 127.0.0.1:3306
|
||||||
|
|||||||
@@ -61,6 +61,9 @@
|
|||||||
|
|
||||||
#################################### Database ####################################
|
#################################### Database ####################################
|
||||||
[database]
|
[database]
|
||||||
|
# You can configure the database connection by specifying type, host, name, user and password
|
||||||
|
# as seperate properties or as on string using the url propertie.
|
||||||
|
|
||||||
# Either "mysql", "postgres" or "sqlite3", it's your choice
|
# Either "mysql", "postgres" or "sqlite3", it's your choice
|
||||||
;type = sqlite3
|
;type = sqlite3
|
||||||
;host = 127.0.0.1:3306
|
;host = 127.0.0.1:3306
|
||||||
@@ -68,6 +71,10 @@
|
|||||||
;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" only, either "disable", "require" or "verify-full"
|
# For "postgres" only, either "disable", "require" or "verify-full"
|
||||||
;ssl_mode = disable
|
;ssl_mode = disable
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user