Private GIT

Skip to content
Snippets Groups Projects
Unverified Commit d06eea21 authored by Allan's avatar Allan Committed by GitHub
Browse files

Merge pull request #4 from barrycarey/master

Merging docker file fixes from barrycarey
parents 2f44694b dde885dc
Branches
No related tags found
No related merge requests found
......@@ -2,9 +2,10 @@ FROM python:3.3-slim
MAINTAINER Allan Tribe <atribe13@gmail.com>
VOLUME /src/
COPY influxspeedtest/InfluxdbSpeedtest.py requirements.txt /src/
COPY influxspeedtest.py requirements.txt config.ini /src/
ADD influxspeedtest /src/influxspeedtest
WORKDIR /src
RUN pip install -r requirements.txt
CMD ["python", "-u", "/src/InfluxdbSpeedtest.py"]
CMD ["python", "-u", "/src/influxspeedtest.py"]
......@@ -23,15 +23,24 @@ This tool is a wrapper for speedtest-cli which allows you to run periodic speedt
|Key |Description |
|:--------------|:-------------------------------------------------------------------------------------------------------------------|
|Server |Comma sperated list of servers. Leave blank for auto |
#### LOGGING
|Key |Description |
|:--------------|:-------------------------------------------------------------------------------------------------------------------|
|Level |Set how verbose the console output is |
**Usage**
## Usage
Before the first use run pip3 install -r requirements.txt
Enter your desired information in config.ini and run InfluxdbSpeedtest.py
Enter your desired information in config.ini
Run influxspeedtest.py
**Custom Config File Name**
If you wish to use a config file by a different name set an ENV Variable called influxspeedtest. The value you set will be the config file that's used.
***Requirements***
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment