commit fff72889f6604c72f5743cae3406c548c05a043b
parent 12af32b9eab9f1498abda0535cd51fa924d075f1
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Sun, 2 Jun 2019 13:44:59 +0200
Document DB URL in .env file
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/.env.template b/.env.template
@@ -4,8 +4,13 @@
## Main data folder
# DATA_FOLDER=data
-## Individual folders, these override %DATA_FOLDER%
+## Database URL
+## When using SQLite, this is the path to the DB file, default to %DATA_FOLDER%/db.sqlite3
+## When using MySQL, this it is the URL to the DB, including username and password:
+## Format: mysql://[user[:password]@]host/database_name
# DATABASE_URL=data/db.sqlite3
+
+## Individual folders, these override %DATA_FOLDER%
# RSA_KEY_FILENAME=data/rsa_key
# ICON_CACHE_FOLDER=data/icon_cache
# ATTACHMENTS_FOLDER=data/attachments