fastcom-mysql
simonjenny/fastcom-mysql
https://hub.docker.com/r/simonjenny/fastcom-mysql/
bridge
sh
false
https://hub.docker.com/r/simonjenny/fastcom-mysql/
https://github.com/simonjenny/fastcom-mysql
Docker Container with Fast.com CLI sending data to a MySQL Server
The Docker needs the following ENV Variables:
SLEEP : Seconds between measures
MYSQL_SERVER : IP/Address of MySQL Server
MYSQL_USER: MySQL Username
MYSQL_PASS: MySQL Password
MYSQL_DATABASE: MySQL Database
MYSQL_TABLE: MySQL Table
LOC: Name of Probe (eg. network/core or network/edge)
Important:
Database Table needs to have the following schema:
CREATE TABLE `YOURTABLENAME` (
`timestamp` timestamp NULL DEFAULT current_timestamp(),
`loc` varchar(50) COLLATE utf8mb4_bin DEFAULT NULL,
`download` float DEFAULT NULL,
`upload` float DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin
HomeAutomation:
https://raw.githubusercontent.com/simonjenny/fastcom-mysql/master/fastlogo.jpg
Docker Container with Fast.com CLI sending data to a MySQL Server
The Docker needs the following ENV Variables:
SLEEP : Seconds between measures
MYSQL_SERVER : IP/Address of MySQL Server
MYSQL_USER: MySQL Username
MYSQL_PASS: MySQL Password
MYSQL_DATABASE: MySQL Database
MYSQL_TABLE: MySQL Table
LOC: Name of Probe (eg. network/core or network/edge)
Important:
Database Table needs to have the following schema:
CREATE TABLE `YOURTABLENAME` (
`timestamp` timestamp NULL DEFAULT current_timestamp(),
`loc` varchar(50) COLLATE utf8mb4_bin DEFAULT NULL,
`download` float DEFAULT NULL,
`upload` float DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin
bridge
MYSQL_SERVER
MYSQL_USER
MYSQL_PASS
MYSQL_DATABASE
MYSQL_TABLE
network/core
LOC
3600
SLEEP
3600