Giter Site home page Giter Site logo

arpanghosh8453 / docker-speedtest Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 12 KB

Checks the internet speed using Ookla speedtes CLI and writes the data to a local influxdb database

License: BSD 3-Clause "New" or "Revised" License

Dockerfile 11.45% Python 88.55%

docker-speedtest's Introduction

docker-speedtest

Checks the internet speed using Ookla speedtes CLI and writes the data to a local influxdb database

If you have a preconfigured influxdb instance, simply run the following docker compose with 'docker compose up -d'

docker

version: '3.4'
services:
  python-speedtest:
    restart: unless-stopped
    image: thisisarpanghosh/python-speedtest:latest
    container_name: python-speedtest
    hostname: python-speedtest
    environment:
      - TZ=America/Toronto
      - INFLUXDB_HOST=influxdb
      - INFLUXDB_PORT=8086
      - INFLUXDB_USERNAME=your_influxdb_username
      - INFLUXDB_PASSWORD=your_influxdb_password
      - INFLUXDB_DATABASE=network # You need the database with this name ready
      - SPEEDTEST_INTERVAL_MINUTES=30
      # Optional : Use only if you want to use specific test servers - use : as seperator between IDs
      #- SPEEDTEST_SERVER_ID_LIST=17394:19249:13180:3752:8913:3639:17828
      - SERVER_HOST_NAME=your_machine_name # Can be anything, e.g. raspberrypi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.