From d3131d61ce9999ff9b21a10a806fa73aa269b196 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Tue, 29 Jul 2025 21:55:02 -0600 Subject: [PATCH] Update Servers/Containerization/Docker/Compose/Speedtest Tracker.md --- .../Containerization/Docker/Compose/Speedtest Tracker.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Servers/Containerization/Docker/Compose/Speedtest Tracker.md b/Servers/Containerization/Docker/Compose/Speedtest Tracker.md index df2645f..b508f16 100644 --- a/Servers/Containerization/Docker/Compose/Speedtest Tracker.md +++ b/Servers/Containerization/Docker/Compose/Speedtest Tracker.md @@ -19,9 +19,9 @@ services: - ASSET_URL=${PUBLIC_FQDN} - APP_TIMEZONE=${TIMEZONE} - DISPLAY_TIMEZONE=${TIMEZONE} - - SPEEDTEST_SCHEDULE=*/15 * * * * + - SPEEDTEST_SCHEDULE=*/15 * * * * # (1) - SPEEDTEST_SERVERS=5858 - - APP_KEY=${BASE64_APPKEY} # (1) + - APP_KEY=${BASE64_APPKEY} # (2) - DB_CONNECTION=pgsql - DB_HOST=db - DB_PORT=5432 @@ -63,7 +63,9 @@ networks: external: true ``` -1. You can generate a secure appkey with the following command: `echo -n 'base64:'; openssl rand -base64 32;` > Copy this key including the base64: prefix and paste it as your APP_KEY environment variable value. +1. You can use [Crontab Guru](https://crontab.guru) to generate a cron expression to schedule automatic speedtests. e.g. `*/15 * * * *` runs a speedtest every 15 minutes. + +2. You can generate a secure appkey with the following command: `echo -n 'base64:'; openssl rand -base64 32;` > Copy this key including the `base64:` prefix and paste it as your APP_KEY environment variable value. ```yaml title=".env" DB_PASSWORD=SecurePassword