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
Speedtest Tracker supports multiple database drivers including SQLite, MySQL
4
+
and Postgres.
5
+
---
6
+
1
7
# Database Drivers
2
8
3
9
Since Speedtest Tracker is built on the Laravel Framework any of the framework's supported database [drivers](https://laravel.com/docs/10.x/database#configuration) are also supported.
4
10
5
-
MySQL/MariaDB ships as the default driver but you can also use SQLite and Postgres. While SQL Server is supported by Laravel it hasn't been tested with Speedtest Tracker so no support will be provided for that driver.
11
+
SQLite ships as the default driver but you can also use MySQL/MariaDB and Postgres. While SQL Server is supported by Laravel it hasn't been tested with Speedtest Tracker so no support will be provided for that driver.
6
12
7
13
***
8
14
9
15
### Driver Options
10
16
11
-
#### MySQL/MariaDB (Default, recommended)
17
+
#### SQLite (Default)
18
+
19
+
SQLite is a good option for simple installs and only not recommended because I think separating your application and the database into separate services is a better idea.
20
+
21
+
To use SQLite follow the steps below to create your database file: 
22
+
23
+
1. Create a volume called `speedtest-tracker` or mount a directory to the container.
24
+
2. Create a file called `database.sqlite`, you can do this by running `touch database.sqlite` in the mounted volume or create it in the mounted directory.
25
+
3. Update your environment variables to only include the following environment variable in the table below.
26
+
4. On start-up the container will checked for the database on the file system, if it can find it errors will be thrown to the log.
27
+
28
+
| Environment Variable | Value |
29
+
| -------------------- | -------- |
30
+
|`DB_CONNECTION`|`sqlite`|
31
+
32
+
#### MySQL/MariaDB
12
33
13
34
MariaDB ships as the default database that's included in the `docker-compose.yml` configuration, it's functionally the same as MySQL just an open-source earlier fork.
14
35
@@ -21,21 +42,6 @@ MariaDB ships as the default database that's included in the `docker-compose.yml
21
42
|`DB_USERNAME`| User that'll be used to connect to the database. |
22
43
|`DB_PASSWORD`| Password for the user above. |
23
44
24
-
#### SQLite
25
-
26
-
SQLite is a good option for simple installs and only not recommended because I think separating your application and the database into separate services is a better idea.
27
-
28
-
To use SQLite follow the steps below to create your database file: 
29
-
30
-
1. Create a volume called `speedtest-tracker` or mount a directory to the container.
31
-
2. Create a file called `database.sqlite`, you can do this by running `touch database.sqlite` in the mounted volume or create it in the mounted directory.
32
-
3. Update your environment variables to only include the following environment variables in the table below.
Copy file name to clipboardExpand all lines: getting-started/installation/installation-2.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,4 +8,7 @@ description: >-
8
8
9
9
### Install on Unraid OS
10
10
11
-
The unRAID community app store contains an app template managed by ZappyZap. Search "Speedtest Tracker" to install. Template support can be found [here](https://forums.unraid.net/topic/130245-support-devzwf-speedtest-tracker/).
11
+
Use the Community Applications plugin to install one of the templates below by searching for "Speedtest Tracker".
0 commit comments