Skip to content

Commit 3354005

Browse files
alexjustesengitbook-bot
authored andcommitted
GITBOOK-77: change request with no subject merged in GitBook
1 parent d926d6b commit 3354005

File tree

2 files changed

+75
-0
lines changed

2 files changed

+75
-0
lines changed

SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* [Installation](getting-started/installation/README.md)
1010
* [Using Docker or Docker Compose](getting-started/installation/installation.md)
1111
* [Using Kubernetes](getting-started/installation/kubernetes.md)
12+
* [Using QNAP](getting-started/installation/using-qnap.md)
1213
* [Using Synology](getting-started/installation/synology.md)
1314
* [Using Unraid](getting-started/installation/unraid.md)
1415
* [Database Drivers](getting-started/database-drivers.md)
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
description: Install Speedtest Tracker in a QNAP NAS using Container Station.
3+
---
4+
5+
# Using QNAP
6+
7+
These instructions will run you through setting up the application on a QNAP NAS and will also create a MariaDB container for you to use as a database.
8+
9+
1. Open **"Container Station"** and select **"Applications"** from the left-hand navigation menu.
10+
2. Press the **"Create"** button.
11+
3. Provide a name for the application.
12+
4. Paste the below Docker Compose code into the text box, this is a modification of the MariaDB Docker Compose [install ](installation.md)instructions.
13+
5. Click **"Validate"** to make sure there are no errors.
14+
6. Click **"Create"** to deploy the application.
15+
16+
### Example Docker Compose
17+
18+
```yaml
19+
version: '3.4'
20+
services:
21+
speedtest-tracker:
22+
container_name: speedtest-tracker
23+
ports:
24+
- '8080:80'
25+
- '8443:443'
26+
environment:
27+
- PUID=1000
28+
- PGID=1000
29+
- DB_CONNECTION=mysql
30+
- DB_HOST=192.168.1.4
31+
- DB_PORT=3306
32+
- DB_DATABASE=speedtest_tracker
33+
- DB_USERNAME=speedy
34+
- DB_PASSWORD=password
35+
volumes:
36+
- /path/to-data:/config
37+
- /path/to/directory/web:/etc/ssl/web
38+
image: lscr.io/linuxserver/speedtest-tracker:latest
39+
networks:
40+
qnet-network:
41+
ipv4_address: 192.168.1.3
42+
restart: unless-stopped
43+
depends_on:
44+
- db
45+
db:
46+
image: mariadb:10
47+
networks:
48+
qnet-network:
49+
ipv4_address: 192.168.1.4
50+
restart: always
51+
environment:
52+
- MARIADB_DATABASE=speedtest_tracker
53+
- MARIADB_USER=speedy
54+
- MARIADB_PASSWORD=password
55+
- MARIADB_RANDOM_ROOT_PASSWORD=true
56+
volumes:
57+
- speedtest-db:/var/lib/mysql
58+
59+
networks:
60+
qnet-network:
61+
driver_opts:
62+
iface: eth0
63+
driver: qnet
64+
ipam:
65+
driver: qnet
66+
options:
67+
iface: eth0
68+
config:
69+
- subnet: 192.168.1.0/24
70+
gateway: 192.168.1.1
71+
72+
volumes:
73+
speedtest-db:
74+
```

0 commit comments

Comments
 (0)