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.
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.
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...
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.