Skip to content

Commit 8b9f70b

Browse files
authored
Update installation.md
1 parent 0a8c75b commit 8b9f70b

File tree

1 file changed

+16
-56
lines changed

1 file changed

+16
-56
lines changed

getting-started/installation.md

Lines changed: 16 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -182,71 +182,31 @@ The unRAID community app store contains an app template managed by ZappyZap. Sea
182182
183183
### Install on Synology
184184
185-
Activate SSH on your Synology Device and connect to the command line.
186-
Switch to root user with:
185+
Open the Docker interface of your Synology Device, search for `ajustesen/speedtest-tracker` in the Registry and download it.
187186

188-
```
189-
sudo su
190-
```
187+
![download_image](https://user-images.githubusercontent.com/92191413/210480118-b15f83af-6617-4a0d-b631-760f419425b9.png)
191188

192-
Create your desired installation directory, for example:
189+
Create a local directory (i.e. `/volume1/docker/speedtest-tracker`) which later can be mapped to the docker container.
193190

194-
```yaml
195-
mkdir -p /opt/speedtest-tracker/config
196-
```
191+
Launch the image once the download is completed.
197192

198-
Generate a `docker-compose.yml`:
193+
![launch_image](https://user-images.githubusercontent.com/92191413/210480210-baa06b52-c3b0-41a4-b50e-ce7af82d683c.png)
199194

200-
```yaml
201-
version: '3.3'
202-
services:
203-
speedtest-tracker:
204-
container_name: speedtest-tracker
205-
ports:
206-
- '8080:80'
207-
- '8443:443'
208-
environment:
209-
- PUID=1000
210-
- PGID=1000
211-
- DB_CONNECTION=mysql
212-
- DB_HOST=db
213-
- DB_PORT=3306
214-
- DB_DATABASE=speedtest_tracker
215-
- DB_USERNAME=speedy
216-
- DB_PASSWORD=password
217-
volumes:
218-
- '/path/to/directory:/config'
219-
image: 'ghcr.io/alexjustesen/speedtest-tracker:latest'
220-
restart: unless-stopped
221-
depends_on:
222-
- db
223-
db:
224-
image: mariadb:10
225-
restart: always
226-
environment:
227-
- MARIADB_DATABASE=speedtest_tracker
228-
- MARIADB_USER=speedy
229-
- MARIADB_PASSWORD=password
230-
- MARIADB_RANDOM_ROOT_PASSWORD=true
231-
volumes:
232-
- speedtest-db:/var/lib/mysql
233-
volumes:
234-
speedtest-db:
235-
```
195+
Map the ports to available ports.
196+
197+
![port_mapping](https://user-images.githubusercontent.com/92191413/210481629-6fa76992-403a-415e-9967-af7b00c97d87.png)
236198

237199
{% hint style="info" %}
238-
Generate secure passwords, adjust volume mapping and ports to your setup.
200+
Make sure the ports you choose are not used by any other application or DSM service on your device and remember to adjust the Synology Firewall settings accordingly.
239201
{% endhint %}
240202

241-
Start the Speedtest-Tracker containers with:
203+
Map the directory you created earlier to the mount path `/config`.
242204

243-
```
244-
docker-compose up -d
245-
```
205+
![volume_mapping](https://user-images.githubusercontent.com/92191413/210480901-069703e3-c6ab-446c-b53b-8c5ef3c87085.png)
246206

247-
Check status of the docker containers with `docker-compose ps` or the docker logs with `docker logs -f speedtest-tracker`.
248-
You can now access the Web GUI via `http://172.0.0.1:8080` or `https://172.0.0.1:8443`.
207+
Review your settings and click "done".
208+
209+
![summary](https://user-images.githubusercontent.com/92191413/210480977-3e24ba39-b23e-463f-acba-0a1aad1e57ec.png)
210+
211+
You can now access Speedtest-Tracker via `http://YOUR_IP_ADDRESS:8080` or `https://YOUR_IP_ADDRESS:8443`.
249212

250-
{% hint style="info" %}
251-
Remember to allow the used ports in your Synology Firewall.
252-
{% endhint %}

0 commit comments

Comments
 (0)