You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting up your environment with Docker Compose is the recommended way as it'll setup the application and a database for you. These steps will run you through setting up the application using Docker and Docker Compose.
10
10
11
11
### Install with Docker
12
12
13
+
{% hint style="info" %}
14
+
The Docker Run commands can be found below the compose examples. These instructions assume you have an appropriate database instance that already exists.
15
+
{% endhint %}
16
+
17
+
18
+
13
19
{% stepper %}
14
20
{% step %}
15
21
#### Docker Compose
@@ -43,7 +49,25 @@ services:
43
49
volumes:
44
50
- /path/to/data:/config
45
51
- /path/to-custom-ssl-keys:/config/keys
52
+
```
46
53
54
+
***
55
+
56
+
```
57
+
docker run -d --name speedtest-tracker --restart unless-stopped \
58
+
-p 8080:80 \
59
+
-p 8443:443 \
60
+
-e PUID=1000 \
61
+
-e PGID=1000 \
62
+
-e DB_CONNECTION=sqlite \
63
+
-e APP_KEY= \
64
+
-e DATETIME_FORMAT= \
65
+
-e APP_TIMEZONE= \
66
+
-e SPEEDTEST_SCHEDULE= \
67
+
-e SPEEDTEST_SERVERS= \
68
+
-v /path/to/data:/config \
69
+
-v /path/to-custom-ssl-keys:/config/keys \
70
+
lscr.io/linuxserver/speedtest-tracker:latest
47
71
```
48
72
{% endtab %}
49
73
@@ -88,6 +112,32 @@ services:
88
112
volumes:
89
113
speedtest-db:
90
114
</code></pre>
115
+
116
+
***
117
+
118
+
```
119
+
docker run -d --name speedtest-tracker --restart unless-stopped \
120
+
-p 8080:80 \
121
+
-p 8443:443 \
122
+
-e PUID=1000 \
123
+
-e PGID=1000 \
124
+
-e DB_CONNECTION=mariadb \
125
+
-e DB_HOST= \
126
+
-e DB_PORT=3306 \
127
+
-e DB_DATABASE=speedtest_tracker \
128
+
-e DB_USERNAME= \
129
+
-e DB_PASSWORD= \
130
+
-e APP_KEY= \
131
+
-e DATETIME_FORMAT= \
132
+
-e APP_TIMEZONE= \
133
+
-e SPEEDTEST_SCHEDULE= \
134
+
-e SPEEDTEST_SERVERS= \
135
+
-v /path/to/data:/config \
136
+
-v /path/to-custom-ssl-keys:/config/keys \
137
+
lscr.io/linuxserver/speedtest-tracker:latest
138
+
```
139
+
140
+
91
141
{% endtab %}
92
142
93
143
{% tab title="MySQL" %}
@@ -133,7 +183,29 @@ volumes:
133
183
speedtest-db:
134
184
```
135
185
186
+
***
136
187
188
+
```
189
+
docker run -d --name speedtest-tracker --restart unless-stopped \
190
+
-p 8080:80 \
191
+
-p 8443:443 \
192
+
-e PUID=1000 \
193
+
-e PGID=1000 \
194
+
-e DB_CONNECTION=mysql \
195
+
-e DB_HOST= \
196
+
-e DB_PORT=3306 \
197
+
-e DB_DATABASE=speedtest_tracker \
198
+
-e DB_USERNAME= \
199
+
-e DB_PASSWORD= \
200
+
-e APP_KEY= \
201
+
-e DATETIME_FORMAT= \
202
+
-e APP_TIMEZONE= \
203
+
-e SPEEDTEST_SCHEDULE= \
204
+
-e SPEEDTEST_SERVERS= \
205
+
-v /path/to/data:/config \
206
+
-v /path/to-custom-ssl-keys:/config/keys \
207
+
lscr.io/linuxserver/speedtest-tracker:latest
208
+
```
137
209
{% endtab %}
138
210
139
211
{% tab title="Postgres" %}
@@ -177,20 +249,44 @@ services:
177
249
volumes:
178
250
speedtest-db:
179
251
```
252
+
253
+
***
254
+
255
+
```
256
+
docker run -d --name speedtest-tracker --restart unless-stopped \
257
+
-p 8080:80 \
258
+
-p 8443:443 \
259
+
-e PUID=1000 \
260
+
-e PGID=1000 \
261
+
-e DB_CONNECTION=pgsql \
262
+
-e DB_HOST= \
263
+
-e DB_PORT=3306 \
264
+
-e DB_DATABASE=speedtest_tracker \
265
+
-e DB_USERNAME= \
266
+
-e DB_PASSWORD= \
267
+
-e APP_KEY= \
268
+
-e DATETIME_FORMAT= \
269
+
-e APP_TIMEZONE= \
270
+
-e SPEEDTEST_SCHEDULE= \
271
+
-e SPEEDTEST_SERVERS= \
272
+
-v /path/to/data:/config \
273
+
-v /path/to-custom-ssl-keys:/config/keys \
274
+
lscr.io/linuxserver/speedtest-tracker:latest
275
+
```
180
276
{% endtab %}
181
277
{% endtabs %}
182
278
{% endstep %}
183
279
184
280
{% step %}
185
281
#### Environment Variables
186
282
187
-
In order for the application to run smoothly, some environment variables need to be set. Check out the [Environment Variables](environment-variables.md) section. Make sure you set all the **Required** variables.
283
+
In order for the application to run smoothly, some environment variables need to be set. Check out the [Environment Variables](../environment-variables.md) section. Make sure you set all the **Required** variables.
188
284
{% endstep %}
189
285
190
286
{% step %}
191
287
#### Speedtest Variables
192
288
193
-
Optionally you can set variables to have automatic speedtest on an schedule. Check out the [Environment Variables](environment-variables.md#speedtest) section on how to set the variables. As well see the [FAQ](../help/faqs.md#speedtest) for tips on the best schedule 
289
+
Optionally you can set variables to have automatic speedtest on an schedule. Check out the [Environment Variables](../environment-variables.md#speedtest) section on how to set the variables. As well see the [FAQ](../../help/faqs.md#speedtest) for tips on the best schedule 
194
290
{% endstep %}
195
291
196
292
{% step %}
@@ -202,16 +298,11 @@ You can now start the container accordingly the platform you are on. 
202
298
{% step %}
203
299
#### First Login
204
300
205
-
During the start the container there is an default username and password created. Use the [default login](../security/authentication.md#default-user-account) credentials to login to the application. You can [change the default user](../security/authentication.md#change-user-account) after logging in. 
301
+
During the start the container there is an default username and password created. Use the [default login](../../security/authentication.md#default-user-account) credentials to login to the application. You can [change the default user](../../security/authentication.md#change-user-account) after logging in. 
206
302
{% endstep %}
207
303
{% endstepper %}
208
304
209
305
{% hint style="info" %}
210
-
Complete overview of the Environment Variables for custom configuration can be found [here](environment-variables.md)
306
+
Complete overview of the Environment Variables for custom configuration can be found [here](../environment-variables.md)
211
307
{% endhint %}
212
308
213
-
### Install with Kubernetes
214
-
215
-
Check out this amazing community kubernetes manifest to get you started.
0 commit comments