Skip to content

Commit 22eb7f9

Browse files
alexjustesengitbook-bot
authored andcommitted
GITBOOK-62: change request with no subject merged in GitBook
1 parent 5efd952 commit 22eb7f9

File tree

2 files changed

+27
-24
lines changed

2 files changed

+27
-24
lines changed
Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,35 @@
1+
---
2+
description: >-
3+
Speedtest Tracker supports multiple database drivers including SQLite, MySQL
4+
and Postgres.
5+
---
6+
17
# Database Drivers
28

39
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.
410

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.
612

713
***
814

915
### Driver Options
1016

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
1233

1334
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.
1435

@@ -21,21 +42,6 @@ MariaDB ships as the default database that's included in the `docker-compose.yml
2142
| `DB_USERNAME` | User that'll be used to connect to the database. |
2243
| `DB_PASSWORD` | Password for the user above. |
2344

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.
33-
34-
| Environment Variable | Value |
35-
| -------------------- | ------------------------- |
36-
| `DB_CONNECTION` | `sqlite` |
37-
| `DB_DATABASE` | `/config/database.sqlite` |
38-
3945
#### Postgres
4046

4147
| Environment Variable | Value |
@@ -46,9 +52,3 @@ To use SQLite follow the steps below to create your database file: 
4652
| `DB_DATABASE` | Name of the database you'll connect to. |
4753
| `DB_USERNAME` | User that'll be used to connect to the database. |
4854
| `DB_PASSWORD` | Password for the user above. |
49-
50-
#### SQL Server
51-
52-
While supported by the framework it's drivers are not installed in the base image, if you want to use SQL Server you should extend the base image.
53-
54-
Laravel docs: [https://laravel.com/docs/10.x/database#mssql-configuration](https://laravel.com/docs/10.x/database#mssql-configuration)

getting-started/installation/installation-2.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ description: >-
88

99
### Install on Unraid OS
1010

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".
12+
13+
* LinuxServer.io - [Template support](https://github.com/linuxserver/docker-speedtest-tracker)
14+
* ZappyZap - [Template support](https://forums.unraid.net/topic/130245-support-devzwf-speedtest-tracker/)

0 commit comments

Comments
 (0)