File tree Expand file tree Collapse file tree 2 files changed +57
-0
lines changed
Expand file tree Collapse file tree 2 files changed +57
-0
lines changed Original file line number Diff line number Diff line change 11# Table of contents
22
33* [ 🐇 Speedtest Tracker] ( README.md )
4+
5+ ## 🚀 Getting Started
6+
7+ * [ Installation] ( getting-started/installation.md )
Original file line number Diff line number Diff line change 1+ # Installation
2+
3+ ### Install with Docker
4+
5+ {% hint style="info" %}
6+ MariaDB/MySQL and PostgreSQL instructions assumes you have a database instance that already exists.
7+ {% endhint %}
8+
9+ {% tabs %}
10+ {% tab title="Docker (Sqlite)" %}
11+ ``` bash
12+ docker run -itd --name speedtest-tracker \
13+ -p 8080:80 \
14+ -e " PHP_POOL_NAME=speedtest-tracker_php" \
15+ -e " DB_CONNECTION=sqlite" \
16+ -e " DB_DATABASE=/app/database.sqlite" \
17+ -v /path/to/directory:/app \
18+ speedtest-tracker
19+ ```
20+ {% endtab %}
21+
22+ {% tab title="Docker (MariaDB/MySQL)" %}
23+ ``` bash
24+ docker run -itd --name speedtest-tracker \
25+ -p 8080:80 \
26+ -e " PHP_POOL_NAME=speedtest-tracker_php" \
27+ -e " DB_CONNECTION=mysql" \
28+ -e " DB_HOST=" \
29+ -e " DB_PORT=3306" \
30+ -e " DB_DATABASE=speedtest_tracker" \
31+ -e " DB_USERNAME=" \
32+ -e " DB_PASSWORD=" \
33+ -v /path/to/directory:/app \
34+ speedtest-tracker
35+ ```
36+ {% endtab %}
37+
38+ {% tab title="Docker (PostgreSQL)" %}
39+ ``` bash
40+ docker run -itd --name speedtest-tracker \
41+ -p 8080:80 \
42+ -e " PHP_POOL_NAME=speedtest-tracker_php" \
43+ -e " DB_CONNECTION=pgsql" \
44+ -e " DB_HOST=" \
45+ -e " DB_PORT=5432" \
46+ -e " DB_DATABASE=speedtest_tracker" \
47+ -e " DB_USERNAME=" \
48+ -e " DB_PASSWORD=" \
49+ -v /path/to/directory:/app \
50+ speedtest-tracker
51+ ```
52+ {% endtab %}
53+ {% endtabs %}
You can’t perform that action at this time.
0 commit comments