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/installation/choosing_database.md
+55-1Lines changed: 55 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,4 +99,58 @@ want to use it, to be prepared for future use cases.
99
99
When you are planning to have a very big database, with a lot of entries and many users which regularly using Part-DB, then you should
100
100
use MariaDB or PostgreSQL, as they will perform better in that situation and allow for more advanced features.
101
101
If you should use MariaDB or PostgreSQL depends on your personal preference and what you already have installed on your servers and
102
-
what you are familiar with.
102
+
what you are familiar with.
103
+
104
+
## Using the different databases
105
+
106
+
The only difference in using the different databases, is a different value in the `DATABASE_URL` environment variable in the `.env.local` file
107
+
or in the `DATABASE_URL` environment variable in your server or container configuration. It has the shape of a URL, where the scheme (the part before `://`)
108
+
is the database type, and the rest is connection information.
109
+
110
+
**The env var format below is for the `env.local` file. It might work differently for other env configuration. E.g. in a docker-compose file you have to remove the quotes!**
0 commit comments