diff --git a/templates/compose/speedtest.yaml b/templates/compose/speedtest.yaml new file mode 100644 index 000000000..e0d915fe7 --- /dev/null +++ b/templates/compose/speedtest.yaml @@ -0,0 +1,22 @@ +# documentation: https://github.com/librespeed/speedtest +# slogan: Self-hosted Speed Test for HTML5 and more. +# category: devtools +# tags: speedtest, internet-speed +# logo: svgs/speedtest.svg +# port: 82 + +services: + speedtest: + container_name: speedtest + image: 'ghcr.io/librespeed/speedtest:latest' + environment: + - SERVICE_URL_SPEEDTEST_82 + - MODE=standalone + - TELEMETRY=false + - DISTANCE=km + - WEBPORT=82 + healthcheck: + test: 'curl 127.0.0.1:82 || exit 1' + timeout: 1s + interval: 1m0s + retries: 1