20 lines
831 B
YAML
20 lines
831 B
YAML
services:
|
|
speedtest-tracker:
|
|
container_name: speedtest-tracker
|
|
image: lscr.io/linuxserver/speedtest-tracker:latest
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
environment:
|
|
- PUID=PUID
|
|
- PGID=PGID
|
|
- TZ=timezone
|
|
- APP_KEY=${APP_KEY} # Application key for Laravel framework security. Generate a App Key here - https://speedtest-tracker.dev
|
|
- APP_URL=${APP_URL} # Public URL where the Speedtest Tracker will be accessible.
|
|
- DB_CONNECTION=sqlite # Uses SQLite as the database.
|
|
- SPEEDTEST_SCHEDULE="0 */3 * * *" # Cron schedule, runs every 3 hours.
|
|
- DISPLAY_TIMEZONE=${DISPLAY_TIMEZONE} # Sets the timezone for displaying data in the UI.
|
|
volumes:
|
|
- /path/to/speedtest-tracker/data:/config # Mounts the directory for persistent data.
|
|
restart: unless-stopped
|