Skip to content

phikai/docker-speedtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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; originally based on Nico Maas' idea, but now triggering a GitLab CI Job to build and push the image.

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.

About

A Special Purpose Docker Image to run the Speedtest-CLI Script and post results to InfluxDB.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published