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
Copy file name to clipboardExpand all lines: README.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,13 +77,17 @@ services:
77
77
- PUID=1000
78
78
- PGID=1000
79
79
- TZ=Etc/UTC
80
+
- APP_KEY=
80
81
- DB_CONNECTION=sqlite
81
-
- APP_KEY= #optional
82
+
- SPEEDTEST_SCHEDULE=
83
+
- SPEEDTEST_SERVERS=
82
84
- DB_HOST= #optional
83
85
- DB_PORT= #optional
84
86
- DB_DATABASE= #optional
85
87
- DB_USERNAME= #optional
86
88
- DB_PASSWORD= #optional
89
+
- DISPLAY_TIMEZONE=Etc/UTC #optional
90
+
- PRUNE_RESULTS_OLDER_THAN=0 #optional
87
91
volumes:
88
92
- /path/to/data:/config
89
93
ports:
@@ -99,13 +103,17 @@ docker run -d \
99
103
-e PUID=1000 \
100
104
-e PGID=1000 \
101
105
-e TZ=Etc/UTC \
106
+
-e APP_KEY= \
102
107
-e DB_CONNECTION=sqlite \
103
-
-e APP_KEY= `#optional` \
108
+
-e SPEEDTEST_SCHEDULE= \
109
+
-e SPEEDTEST_SERVERS= \
104
110
-e DB_HOST= `#optional` \
105
111
-e DB_PORT= `#optional` \
106
112
-e DB_DATABASE= `#optional` \
107
113
-e DB_USERNAME= `#optional` \
108
114
-e DB_PASSWORD= `#optional` \
115
+
-e DISPLAY_TIMEZONE=Etc/UTC `#optional` \
116
+
-e PRUNE_RESULTS_OLDER_THAN=0 `#optional` \
109
117
-p 80:80 \
110
118
-v /path/to/data:/config \
111
119
--restart unless-stopped \
@@ -122,13 +130,17 @@ Containers are configured using parameters passed at runtime (such as those abov
122
130
|`-e PUID=1000`| for UserID - see below for explanation |
123
131
|`-e PGID=1000`| for GroupID - see below for explanation |
124
132
|`-e TZ=Etc/UTC`| specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
133
+
|`-e APP_KEY=`| App key used for encrypting stored data. You can generate a key at [https://speedtest-tracker.dev](https://speedtest-tracker.dev)|
125
134
|`-e DB_CONNECTION=sqlite`| Set the database type to use. `sqlite`, `pgsql`, or `mysql`|
126
-
|`-e APP_KEY=`| App key used for encrypting stored data. Generate with `docker exec speedtest-tracker php /app/www/artisan key:generate --show`|
135
+
|`-e SPEEDTEST_SCHEDULE=`| Set the test schedule in cron format. e.g. `0 */6 * * *`|
136
+
|`-e SPEEDTEST_SERVERS=`| A comma-separated list of server IDs to test against. Run `docker exec speedtest-tracker php /app/www/artisan app:ookla-list-servers` to get a list of nearby servers. |
project_blurb: "[{{ project_name|capitalize }}]({{ project_url }}) is a self-hosted internet performance tracking application that runs speedtest checks against Ookla's Speedtest service."
- { env_var: "APP_KEY", env_value: "", desc: "App key used for encrypting stored data. You can generate a key at [https://speedtest-tracker.dev](https://speedtest-tracker.dev)" }
23
20
- { env_var: "DB_CONNECTION", env_value: "sqlite", desc: "Set the database type to use. `sqlite`, `pgsql`, or `mysql`" }
21
+
- { env_var: "SPEEDTEST_SCHEDULE", env_value: "", desc: "Set the test schedule in cron format. e.g. `0 */6 * * *`" }
22
+
- { env_var: "SPEEDTEST_SERVERS", env_value: "", desc: "A comma-separated list of server IDs to test against. Run `docker exec speedtest-tracker php /app/www/artisan app:ookla-list-servers` to get a list of nearby servers." }
24
23
param_usage_include_vols: true
25
24
param_volumes:
26
-
- { vol_path: "/config", vol_host_path: "/path/to/data", desc: "Contains speedtest-tracker config and database, if using sqlite." }
25
+
- { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/data", desc: "Contains speedtest-tracker config and database, if using sqlite." }
0 commit comments