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
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,11 +79,15 @@ services:
79
79
- TZ=Etc/UTC
80
80
- APP_KEY=
81
81
- DB_CONNECTION=sqlite
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:
@@ -101,11 +105,15 @@ docker run -d \
101
105
-e TZ=Etc/UTC \
102
106
-e APP_KEY= \
103
107
-e DB_CONNECTION=sqlite \
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 \
@@ -124,11 +132,15 @@ Containers are configured using parameters passed at runtime (such as those abov
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). |
125
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)|
126
134
|`-e DB_CONNECTION=sqlite`| Set the database type to use. `sqlite`, `pgsql`, or `mysql`|
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. |
Copy file name to clipboardExpand all lines: readme-vars.yml
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,8 @@ param_usage_include_env: true
22
22
param_env_vars:
23
23
- { 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)" }
24
24
- { env_var: "DB_CONNECTION", env_value: "sqlite", desc: "Set the database type to use. `sqlite`, `pgsql`, or `mysql`" }
25
+
- { env_var: "SPEEDTEST_SCHEDULE", env_value: "", desc: "Set the test schedule in cron format. e.g. `0 */6 * * *`" }
26
+
- { 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." }
25
27
param_usage_include_vols: true
26
28
param_volumes:
27
29
- { vol_path: "/config", vol_host_path: "/path/to/data", desc: "Contains speedtest-tracker config and database, if using sqlite." }
0 commit comments