Skip to content

Commit d35b9a1

Browse files
authored
Update installation.md
1 parent 9b1392a commit d35b9a1

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

getting-started/installation.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,3 +179,69 @@ volumes:
179179
### Install on unRAID
180180
181181
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/).
182+
183+
### Install on Synology
184+
185+
Activate SSH on your Synology Device and connect to the command line.
186+
187+
Create your desired installation directory, for example:
188+
189+
```yaml
190+
mkdir -p /opt/speedtest-tracker/config
191+
```
192+
193+
Generate a `docker-compose.yml`:
194+
195+
```yaml
196+
version: '3.3'
197+
services:
198+
speedtest-tracker:
199+
container_name: speedtest-tracker
200+
ports:
201+
- '8080:80'
202+
- '8443:443'
203+
environment:
204+
- PUID=1000
205+
- PGID=1000
206+
- DB_CONNECTION=mysql
207+
- DB_HOST=db
208+
- DB_PORT=3306
209+
- DB_DATABASE=speedtest_tracker
210+
- DB_USERNAME=speedy
211+
- DB_PASSWORD=password
212+
volumes:
213+
- '/path/to/directory:/config'
214+
image: 'ghcr.io/alexjustesen/speedtest-tracker:latest'
215+
restart: unless-stopped
216+
depends_on:
217+
- db
218+
db:
219+
image: mariadb:10
220+
restart: always
221+
environment:
222+
- MARIADB_DATABASE=speedtest_tracker
223+
- MARIADB_USER=speedy
224+
- MARIADB_PASSWORD=password
225+
- MARIADB_RANDOM_ROOT_PASSWORD=true
226+
volumes:
227+
- speedtest-db:/var/lib/mysql
228+
volumes:
229+
speedtest-db:
230+
```
231+
232+
{% hint style="info" %}
233+
Generate secure passwords, adjust volume mapping and ports to your setup.
234+
{% endhint %}
235+
236+
Start the Speedtest-Tracker containers with:
237+
238+
```
239+
docker-compose up -d
240+
```
241+
242+
Check status of the docker containers with `docker-compose ps` or the docker logs with `docker logs -f speedtest-tracker`.
243+
You can now access the Web GUI via `http://172.0.0.1:8080` or `https://172.0.0.1:8443`.
244+
245+
{% hint style="info" %}
246+
Remember to allow the used ports in your Synology Firewall.
247+
{% endhint %}

0 commit comments

Comments
 (0)