๐Ÿ‡
Speedtest Tracker
  • Introduction
  • Features
  • Changelog
  • ๐Ÿš€Getting Started
    • Installation
      • Using Docker Compose
      • Using Docker
      • Using Kubernetes
      • Using QNAP
      • Using Synology
      • Using Unraid
    • Environment Variables
    • Database Drivers
  • ๐Ÿ†˜Help
    • Error Messages
    • Frequently Asked Questions
  • ๐Ÿ”‘Security
    • Authentication
    • Authorization
    • Encryption
  • โš™๏ธSettings
    • Data Integrations
      • InfluxDB v2
    • Notifications
      • Database
      • Mail
      • Webhook
  • ๐Ÿ‘€Other
    • Speedtest Process
    • Proxies
      • Cloudflare Tunnel (Zero Trust)
      • Traefik
      • Tailscale
    • Caching
    • Commands
    • Data Dictionary
    • Embed Dashboard
    • Health Check
    • Community Projects
  • ๐Ÿ–ฅ๏ธAPI
    • Authorization
    • Responses
      • Results
      • Speedtests
      • Servers
      • Stats
      • Models
  • ๐ŸคนContributing
    • Development Environment
  • ๐Ÿ”—More
    • Source Code
    • Releases
    • Update the Docs
    • About Me
    • Donate
Powered by GitBook
On this page
Edit on GitHub
  1. Getting Started

Database Drivers

Speedtest Tracker supports multiple database drivers including SQLite, MySQL and Postgres.

PreviousEnvironment VariablesNextError Messages

Last updated 1 month ago

Since Speedtest Tracker is built on the Laravel Framework any of the framework's supported database are also supported.

SQLite ships as the default driver but you can also use MySQL/MariaDB/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.


Driver Options

SQLite (Default)

SQLite is a good option for simple installs. The database will be create automatically inside the docker volume.

Environment Variable
Value

DB_CONNECTION

sqlite

MariaDB

Environment Variable
Value

DB_CONNECTION

mariadb

DB_HOST

The FQDN or address to the database instance.

DB_PORT

3306 is the default port but can depend on your setup.

DB_DATABASE

Name of the database you'll connect to.

DB_USERNAME

User that'll be used to connect to the database.

DB_PASSWORD

Password for the user above.

MySQL

Environment Variable
Value

DB_CONNECTION

mysql

DB_HOST

The FQDN or address to the database instance.

DB_PORT

3306 is the default port but can depend on your setup.

DB_DATABASE

Name of the database you'll connect to.

DB_USERNAME

User that'll be used to connect to the database.

DB_PASSWORD

Password for the user above.

Postgres

Environment Variable
Value

DB_CONNECTION

pgsql

DB_HOST

The FQDN or address to the database instance.

DB_PORT

5432 is the default port but can depend on your setup.

DB_DATABASE

Name of the database you'll connect to.

DB_USERNAME

User that'll be used to connect to the database.

DB_PASSWORD

Password for the user above.

DB_SEARCH_PATH

To change the database schema used by Postgres.

๐Ÿš€
drivers