Skip to content

Commit 35f701d

Browse files
alexjustesengitbook-bot
authored andcommitted
GITBOOK-109: No subject
1 parent 6cb3f58 commit 35f701d

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

getting-started/installation/using-docker.md

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,17 @@ description: >-
66

77
# Using Docker or Docker Compose
88

9-
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.
9+
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.
1010

1111
### Install with Docker
1212

1313
{% hint style="info" %}
1414
The Docker Run commands can be found below the compose examples. These instructions assume you have an appropriate database instance that already exists.
1515
{% endhint %}
1616

17-
18-
1917
{% stepper %}
2018
{% step %}
21-
#### Docker Compose
19+
**Docker Compose**
2220

2321
SQLite is fine for most installs but we also provide instructions for setting up MariaDB, MySQL and Postgres should you prefer those database drivers.
2422

@@ -136,8 +134,6 @@ docker run -d --name speedtest-tracker --restart unless-stopped \
136134
-v /path/to-custom-ssl-keys:/config/keys \
137135
lscr.io/linuxserver/speedtest-tracker:latest
138136
```
139-
140-
141137
{% endtab %}
142138

143139
{% tab title="MySQL" %}
@@ -223,7 +219,7 @@ services:
223219
- PGID=1000
224220
- DB_CONNECTION=pgsql
225221
- DB_HOST=db
226-
- DB_PORT=3306
222+
- DB_PORT=5432
227223
- DB_DATABASE=speedtest_tracker
228224
- DB_USERNAME=speedy
229225
- DB_PASSWORD=password
@@ -260,7 +256,7 @@ docker run -d --name speedtest-tracker --restart unless-stopped \
260256
-e PGID=1000 \
261257
-e DB_CONNECTION=pgsql \
262258
-e DB_HOST= \
263-
-e DB_PORT=3306 \
259+
-e DB_PORT=5432 \
264260
-e DB_DATABASE=speedtest_tracker \
265261
-e DB_USERNAME= \
266262
-e DB_PASSWORD= \
@@ -278,31 +274,30 @@ docker run -d --name speedtest-tracker --restart unless-stopped \
278274
{% endstep %}
279275

280276
{% step %}
281-
#### Environment Variables
277+
**Environment Variables**
282278

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.
279+
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.
284280
{% endstep %}
285281

286282
{% step %}
287-
#### Speedtest Variables
283+
**Speedtest Variables**
288284

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 
285+
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
290286
{% endstep %}
291287

292288
{% step %}
293-
#### Start the Container
289+
**Start the Container**
294290

295-
You can now start the container accordingly the platform you are on. 
291+
You can now start the container accordingly the platform you are on.
296292
{% endstep %}
297293

298294
{% step %}
299-
#### First Login
295+
**First Login**
300296

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. 
297+
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.
302298
{% endstep %}
303299
{% endstepper %}
304300

305301
{% hint style="info" %}
306302
Complete overview of the Environment Variables for custom configuration can be found [here](../environment-variables.md)
307303
{% endhint %}
308-

0 commit comments

Comments
 (0)