--- 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} - DB_CONNECTION=sqlite - APP_KEY=${APP_KEY} - APP_TIMEZONE=America/New_York - DISPLAY_TIMEZONE=America/New_York - PRUNE_RESULTS_OLDER_THAN=367 - 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