You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/setup.rst
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@ During the first start, a new configuration file will be created and you will be
147
147
148
148
Database
149
149
""""""""""""""
150
-
By default, Gokapi stores its data in a database located in the ``data`` directory. You can specify a different database location in this menu. If no changes are needed, you can proceed as is. Redis is recommended for servers with a high frequency of downloads.
150
+
By default, Gokapi stores its data in a SQLite database located in the ``data`` directory. You can specify a different database location in this menu. If you expect a high frequency of downloads or uploads or if your instance has a slow disk, using **Redis is strongly recommended instead of SQLite**.
151
151
152
152
You can configure the following settings:
153
153
@@ -159,6 +159,10 @@ You can configure the following settings:
159
159
- **Password (optional)** Enter the password for database connection.
160
160
- **Use SSL** Select this option to establish an SSL connection.
161
161
162
+
163
+
.. danger::
164
+
When using Redis, make sure that you enable persistence (e.g. by setting ``save 1 1`` in the redis server configuration file). Otherwise all data will be lost after a restart!
165
+
162
166
.. warning::
163
167
The Redis password will be stored in plain text and can be viewed when re-running the setup.
0 commit comments