mirror of
https://github.com/kemko/keenetic-grafana-monitoring.git
synced 2026-01-01 15:45:43 +03:00
Dockerize and type mapping
This commit is contained in:
committed by
Vitaliy Skrypnyk
parent
74109908c4
commit
2c4788e8a3
48
README.md
Normal file
48
README.md
Normal file
@@ -0,0 +1,48 @@
|
||||
```
|
||||
_ __ _ _ _____ _ _ _
|
||||
| |/ / | | (_) / ____| | | | | |
|
||||
| ' / ___ ___ _ __ ___| |_ _ ___ | | ___ | | | ___ ___| |_ ___ _ __
|
||||
| < / _ \/ _ \ '_ \ / _ \ __| |/ __| | | / _ \| | |/ _ \/ __| __/ _ \| '__|
|
||||
| . \ __/ __/ | | | __/ |_| | (__ | |___| (_) | | | __/ (__| || (_) | |
|
||||
|_|\_\___|\___|_| |_|\___|\__|_|\___| \_____\___/|_|_|\___|\___|\__\___/|_|
|
||||
|
||||
```
|
||||
|
||||
# Build from sources
|
||||
|
||||
`docker build -t keenetic-grafana-monitoring .`
|
||||
|
||||
# Preparation
|
||||
|
||||
* Create InfluxDB configuration file `influx.json`
|
||||
|
||||
```json
|
||||
{
|
||||
"influxdb": {
|
||||
"host": "<HOST>",
|
||||
"port": 80,
|
||||
"username": "admin",
|
||||
"password": "<PASS>",
|
||||
"db": "keenetic"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
* Expose Keenetic API on your router
|
||||
|
||||
For doing this add port forwarding (Network rules -> Forwarding):
|
||||
```
|
||||
Input: Other destination
|
||||
IP address: Your network ip (like 192.168.1.0)
|
||||
Subnet mask: 255.255.255.0
|
||||
Output: This Keenetic
|
||||
Open the port: 79
|
||||
Destination port: 79
|
||||
```
|
||||
|
||||
# Run with docker-compose.yml
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user