Skip to content

Commit 5d975f6

Browse files
alexjustesengitbook-bot
authored andcommitted
GitBook: No commit message
1 parent c646305 commit 5d975f6

File tree

3 files changed

+39
-27
lines changed

3 files changed

+39
-27
lines changed

getting-started/installation/using-docker-compose.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Docker run commands can be found on the [Using Docker](using-docker.md) page and
1616

1717
{% stepper %}
1818
{% step %}
19-
#### Generate an Application Key
19+
**Generate an Application Key**
2020

2121
Run the command below to generate a key, the key is required for [encryption](../../security/encryption.md). Copy this key including the `base64:` prefix and paste it as your `APP_KEY` value.
2222

@@ -26,10 +26,16 @@ echo -n 'base64:'; openssl rand -base64 32;
2626
{% endstep %}
2727

2828
{% step %}
29-
#### **Setting Up Docker**
29+
**Setting Up Docker**
3030

3131
SQLite is fine for most installs but you can also use more traditional relational databases like MariaDB, MySQL and Postgres.
3232

33+
{% hint style="info" %}
34+
You will need to get your user's `PUID` and `PGID`, you can do this by running `id $user` on the host.
35+
36+
[https://docs.linuxserver.io/general/understanding-puid-and-pgid/](https://docs.linuxserver.io/general/understanding-puid-and-pgid/)
37+
{% endhint %}
38+
3339
{% tabs %}
3440
{% tab title="SQLite" %}
3541
```yaml
@@ -42,8 +48,8 @@ services:
4248
- 8080:80
4349
- 8443:443
4450
environment:
45-
- PUID=1000
46-
- PGID=1000
51+
- PUID=
52+
- PGID=
4753
- APP_KEY=
4854
- DB_CONNECTION=sqlite
4955
volumes:
@@ -62,8 +68,8 @@ services:
6268
- 8080:80
6369
- 8443:443
6470
environment:
65-
- PUID=1000
66-
- PGID=1000
71+
- PUID=
72+
- PGID=
6773
- APP_KEY=
6874
- DB_CONNECTION=mariadb
6975
- DB_HOST=db
@@ -107,8 +113,8 @@ services:
107113
- 8080:80
108114
- 8443:443
109115
environment:
110-
- PUID=1000
111-
- PGID=1000
116+
- PUID=
117+
- PGID=
112118
- APP_KEY=
113119
- DB_CONNECTION=mysql
114120
- DB_HOST=db
@@ -192,13 +198,13 @@ If you would like to provide your own SSL keys, they must be named `cert.crt` (f
192198
{% endstep %}
193199

194200
{% step %}
195-
#### **Environment Variables**
201+
**Environment Variables**
196202

197203
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 all **required** variables are configured.
198204
{% endstep %}
199205

200206
{% step %}
201-
#### **Configuration Variables (Optional)**
207+
**Configuration Variables (Optional)**
202208

203209
You can set configuration variables to have automatic speedtest on an schedule. Check out the [Environment Variables](../environment-variables.md#speedtest) section on how to set the variables. Also see the [FAQ](../../help/faqs.md#speedtest) for tips effectively scheduling tests.
204210

@@ -208,13 +214,13 @@ Complete overview of the Environment Variables for custom configuration can be f
208214
{% endstep %}
209215

210216
{% step %}
211-
#### **Start the Container**
217+
**Start the Container**
212218

213219
You can now start the container accordingly the platform you are on.
214220
{% endstep %}
215221

216222
{% step %}
217-
#### **First Login**
223+
**First Login**
218224

219225
During the start the container there is a 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-account-details) after logging in.
220226
{% endstep %}

getting-started/installation/using-docker.md

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Docker run commands assume you already have a database installed and configured.
1616

1717
{% stepper %}
1818
{% step %}
19-
#### Generate an Application Key
19+
**Generate an Application Key**
2020

2121
Run the command below to generate a key, the key is required for [encryption](../../security/encryption.md). Copy this key including the `base64:` prefix and paste it as your `APP_KEY` value.
2222

@@ -26,18 +26,24 @@ echo -n 'base64:'; openssl rand -base64 32;
2626
{% endstep %}
2727

2828
{% step %}
29-
#### **Setting Up Docker**
29+
**Setting Up Docker**
3030

3131
SQLite is fine for most installs but you can also use more traditional relational databases like MariaDB, MySQL and Postgres.
3232

33+
{% hint style="info" %}
34+
You will need to get your user's `PUID` and `PGID`, you can do this by running `id $user` on the host.
35+
36+
[https://docs.linuxserver.io/general/understanding-puid-and-pgid/](https://docs.linuxserver.io/general/understanding-puid-and-pgid/)
37+
{% endhint %}
38+
3339
{% tabs %}
3440
{% tab title="SQLite" %}
3541
```docker
3642
docker run -d --name speedtest-tracker --restart unless-stopped \
3743
-p 8080:80 \
3844
-p 8443:443 \
39-
-e PUID=1000 \
40-
-e PGID=1000 \
45+
-e PUID= \
46+
-e PGID= \
4147
-e APP_KEY= \
4248
-e DB_CONNECTION=sqlite \
4349
-v /path/to/data:/config \
@@ -51,9 +57,9 @@ docker run -d --name speedtest-tracker --restart unless-stopped \
5157
docker run -d --name speedtest-tracker --restart unless-stopped \
5258
-p 8080:80 \
5359
-p 8443:443 \
54-
-e PUID=1000 \
55-
-e PGID=1000 \
56-
-E APP_KEY= \
60+
-e PUID= \
61+
-e PGID= \
62+
-e APP_KEY= \
5763
-e DB_CONNECTION=mariadb \
5864
-e DB_HOST= \
5965
-e DB_PORT=3306 \
@@ -71,8 +77,8 @@ docker run -d --name speedtest-tracker --restart unless-stopped \
7177
docker run -d --name speedtest-tracker --restart unless-stopped \
7278
-p 8080:80 \
7379
-p 8443:443 \
74-
-e PUID=1000 \
75-
-e PGID=1000 \
80+
-e PUID= \
81+
-e PGID= \
7682
-e APP_KEY= \
7783
-e DB_CONNECTION=mysql \
7884
-e DB_HOST= \
@@ -113,13 +119,13 @@ If you would like to provide your own SSL keys, they must be named `cert.crt` (f
113119
{% endstep %}
114120

115121
{% step %}
116-
#### **Environment Variables**
122+
**Environment Variables**
117123

118124
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 all **required** variables are configured.
119125
{% endstep %}
120126

121127
{% step %}
122-
#### **Configuration Variables (Optional)**
128+
**Configuration Variables (Optional)**
123129

124130
You can set configuration variables to have automatic speedtest on an schedule. Check out the [Environment Variables](../environment-variables.md#speedtest) section on how to set the variables. Also see the [FAQ](../../help/faqs.md#speedtest) for tips effectively scheduling tests.
125131

@@ -129,13 +135,13 @@ Complete overview of the Environment Variables for custom configuration can be f
129135
{% endstep %}
130136

131137
{% step %}
132-
#### **Start the Container**
138+
**Start the Container**
133139

134140
You can now start the container accordingly the platform you are on.
135141
{% endstep %}
136142

137143
{% step %}
138-
#### **First Login**
144+
**First Login**
139145

140146
During the start the container there is a 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-account-details) after logging in.
141147
{% endstep %}

getting-started/installation/using-qnap.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ services:
3030
- 8080:80
3131
- 8443:443
3232
environment:
33-
- PUID=1000
34-
- PGID=1000
33+
- PUID=
34+
- PGID=
3535
- DB_CONNECTION=mariadb
3636
- DB_HOST=db
3737
- DB_PORT=3306

0 commit comments

Comments
 (0)