diff --git a/containers/speedtest/docker-compose.yml b/containers/speedtest/docker-compose.yml index a09b38e..f43423b 100644 --- a/containers/speedtest/docker-compose.yml +++ b/containers/speedtest/docker-compose.yml @@ -5,17 +5,24 @@ networks: services: speedtest-service: #LIBREPORTAL|SERVICE_TAG_1|speedtest-service container_name: speedtest-service - image: adolfintel/speedtest:latest #LIBREPORTAL|SPEEDTEST_VERSION_TAG|latest + image: lscr.io/linuxserver/librespeed:latest #LIBREPORTAL|SPEEDTEST_VERSION_TAG|latest restart: unless-stopped hostname: speedtest + # LinuxServer.io build of LibreSpeed — same software, maintained. Their + # images take PUID/PGID (matching the other LSIO app in the catalogue, + # bookstack) and keep everything under /config. MODE, WEBPORT and + # ENABLE_ID_OBFUSCATION have no equivalent here: this image is standalone + # by design and always serves on 80 internally. environment: - - MODE=standalone - - TELEMETRY=true - - ENABLE_ID_OBFUSCATION=true + - PUID=1000 + - PGID=1000 + - TZ=TIMEZONE_DATA #LIBREPORTAL|TIMEZONE_TAG|TIMEZONE_DATA + # Guards the results page at /results/stats.php, same as before. - PASSWORD=SPEEDTEST_PASSWORD_DATA #LIBREPORTAL|SPEEDTEST_PASSWORD_TAG|SPEEDTEST_PASSWORD_DATA - - WEBPORT=PORT_INTERNAL_DATA_1 #LIBREPORTAL|PORT_INTERNAL_TAG_1|PORT_INTERNAL_DATA_1 + # Setting a DB type is what turns telemetry on. DB_NAME is deliberately + # left unset so the image picks its own path inside /config — guessing one + # risks a database that silently is not persisted by the volume below. - DB_TYPE=sqlite - - DB_NAME=/database/db.sql # GLUETUN_OFF_BEGIN ports: - "PORTS_DATA_1" #LIBREPORTAL|PORTS_TAG_1|PORTS_DATA_1 @@ -36,7 +43,7 @@ services: disable: HEALTHCHECK_DATA #LIBREPORTAL|HEALTHCHECK_TAG|HEALTHCHECK_DATA volumes: - SOCKET_DATA #LIBREPORTAL|SOCKET_TAG|SOCKET_DATA - - ./database:/database + - ./config:/config # GLUETUN_OFF_BEGIN networks: DOCKER_NETWORK_DATA: #LIBREPORTAL|DOCKER_NETWORK_TAG|DOCKER_NETWORK_DATA diff --git a/containers/speedtest/speedtest.config b/containers/speedtest/speedtest.config index 8e8f262..e35112b 100755 --- a/containers/speedtest/speedtest.config +++ b/containers/speedtest/speedtest.config @@ -38,7 +38,7 @@ CFG_SPEEDTEST_PASSWORD=RANDOMIZEDPASSWORD1 # ACTIONS = available actions for this application # CFG_SPEEDTEST_CATEGORY="networking" -CFG_SPEEDTEST_TITLE="Speedtest" +CFG_SPEEDTEST_TITLE="LibreSpeed" CFG_SPEEDTEST_DESCRIPTION="Network Performance Monitoring" CFG_SPEEDTEST_LONG_DESCRIPTION="Lightweight speedtest implemented in Javascript that provides accurate network speed measurements" CFG_SPEEDTEST_URL="https://github.com/librespeed/speedtest"