HUB
Sign inSign up

phikai/speedtest

By phikai

•Updated over 5 years ago

Docker image for running the speedtest-cli and posting results to a running InfluxDB Instance

Image
1

100K+

phikai/speedtest repository overview

⁠Docker Speedtest

⁠PSA: Project has moved to gitlab⁠. This repo will remain on Github as a mirror.

This is a port of the Speedtest Docker Image from Pedro César⁠. A huge thanks to his legwork on the script and ideas.

⁠Purpose

This is a special purpose container designed to execute Speedtest-CLI⁠ and post the results to a companion InfluxDB Instance.

Image is based on Alpine Linux and available via Docker Hub⁠ as phikai/speedtest. This image is automatically rebuilt to a new latest when a new release to Speedtest-CLI⁠ is tagged. (based on Nico Maas' idea⁠)

⁠Usage

Container is designed to be used as a companion to a working InfluxDB Container. An example can be found here⁠.

version: '2'
services:
  influxdb:
    image: influxdb 
    container_name: influxdb
    restart: unless-stopped
    network_mode: 'bridge'
    ports:
      - '8086:8086'
    environment:
      - INFLUXDB_DB=speedtest
    volumes:
      - './influxdb:/var/lib/influxdb'
  
  [...]
  
  speedtest:
    image: phikai/speedtest
    container_name: speedtest
    restart: unless-stopped
    network_mode: 'bridge'
    environment:
      - TEST_INTERVAL=5
    links:
      - influxdb
    depends_on:
      - influxdb

If this project has helped you in anyway, and you'd like to say thanks...

Donate Donate with Bitcoin


⁠Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Tag summary

Content type

Image

Digest

Size

26.8 MB

Last updated

over 5 years ago

docker pull phikai/speedtest