Skip to content

Commit 8e4069c

Browse files
committed
Added ssl cert related config lines and hint.
1 parent e81e9f2 commit 8e4069c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

getting-started/installation.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
MariaDB/MySQL and PostgreSQL instructions assumes you have a database instance that already exists.
2323
{% endhint %}
2424

25+
{% hint style="info" %}
26+
In case you want to make sure that your ssl certs are kept between stops and starts make sure that you map /etc/ssl/web
27+
to make it persistent
28+
{% endhint %}
29+
2530
{% tabs %}
2631
{% tab title="Docker (Sqlite)" %}
2732
```bash
@@ -31,6 +36,7 @@ docker run -d --name speedtest-tracker --restart unless-stopped \
3136
-e PUID=1000 \
3237
-e PGID=1000 \
3338
-v /path/to/directory:/config \
39+
-v /path/to/directory/web:/etc/ssl/web \
3440
ghcr.io/alexjustesen/speedtest-tracker:latest
3541
```
3642
{% endtab %}
@@ -49,6 +55,7 @@ docker run -d --name speedtest-tracker --restart unless-stopped \
4955
-e "DB_USERNAME=" \
5056
-e "DB_PASSWORD=" \
5157
-v /path/to/directory:/config \
58+
-v /path/to/directory/web:/etc/ssl/web \
5259
ghcr.io/alexjustesen/speedtest-tracker:latest
5360
```
5461
{% endtab %}
@@ -67,6 +74,7 @@ docker run -d --name speedtest-tracker --restart unless-stopped \
6774
-e "DB_USERNAME=" \
6875
-e "DB_PASSWORD=" \
6976
-v /path/to/directory:/config \
77+
-v /path/to/directory/web:/etc/ssl/web \
7078
ghcr.io/alexjustesen/speedtest-tracker:latest
7179
```
7280
{% endtab %}
@@ -89,6 +97,7 @@ services:
8997
- PGID=1000
9098
volumes:
9199
- '/path/to/directory:/config'
100+
- '/path/to/directory/web:/etc/ssl/web'
92101
image: 'ghcr.io/alexjustesen/speedtest-tracker:latest'
93102
restart: unless-stopped
94103
```
@@ -114,6 +123,7 @@ services:
114123
- DB_PASSWORD=password
115124
volumes:
116125
- '/path/to/directory:/config'
126+
- '/path/to/directory/web:/etc/ssl/web'
117127
image: 'ghcr.io/alexjustesen/speedtest-tracker:latest'
118128
restart: unless-stopped
119129
depends_on:
@@ -153,6 +163,7 @@ services:
153163
- DB_PASSWORD=password
154164
volumes:
155165
- '/path/to/directory:/config'
166+
- '/path/to/directory/web:/etc/ssl/web'
156167
image: 'ghcr.io/alexjustesen/speedtest-tracker:latest'
157168
restart: unless-stopped
158169
depends_on:

0 commit comments

Comments
 (0)