Files
docker-compose/speedtest-tracker/docker-compose.yml
T

35 lines
791 B
YAML

---
version: "3.4"
services:
speedtest:
container_name: speedtest-tracker
image: "lscr.io/linuxserver/speedtest-tracker:latest"
ports:
- 8080:80
- 8443:443
volumes:
- ./data:/config
environment:
- PUID=${UID}
- PGID=${GID}
- APP_KEY=${APP_KEY}
- APP_TIMEZONE=America/New_York
- TZ=America/New_York
- OOKLA_EULA_GDPR=true
- AUTH=true
- DB_CONNECTION=sqlite
- SPEEDTEST_SCHEDULE="6 * * * *"
logging:
driver: "json-file"
options:
max-file: "10"
max-size: "200k"
restart: unless-stopped
healthcheck:
test: curl -fSs localhost:8080/api/healthcheck | jq -r .message || exit 1
interval: 10s
retries: 3
start_period: 30s
timeout: 10s