kopia lustrzana https://github.com/gshau/wxserver
Updated docs
rodzic
c1bc9d622f
commit
5e16f09a97
|
@ -43,6 +43,12 @@ http://localhost:5000/
|
||||||
I'd recommend installing Influx and Grafana via docker for minimal headache. Install docker here: `https://www.docker.com/`
|
I'd recommend installing Influx and Grafana via docker for minimal headache. Install docker here: `https://www.docker.com/`
|
||||||
|
|
||||||
###InfluxDB setup:
|
###InfluxDB setup:
|
||||||
|
Pull down the influxdb docker images:
|
||||||
|
|
||||||
|
```
|
||||||
|
docker pull influxdb
|
||||||
|
```
|
||||||
|
Then run the image as a container named influx. The port forwarding is done from the container to your local machine.
|
||||||
```
|
```
|
||||||
docker run -d --name influx -p 8086:8086 -p 8083:8083 -v /local/machine/path/to/db:/var/lib/influxdb -e INFLUXDB_ADMIN_ENABLED=true influxdb
|
docker run -d --name influx -p 8086:8086 -p 8083:8083 -v /local/machine/path/to/db:/var/lib/influxdb -e INFLUXDB_ADMIN_ENABLED=true influxdb
|
||||||
```
|
```
|
||||||
|
@ -51,7 +57,10 @@ Navigate to http://localhost:8083 and create a database with name StationDB
|
||||||
|
|
||||||
|
|
||||||
###Grafana setup:
|
###Grafana setup:
|
||||||
|
As with Influx, pull down the docker image for grafana:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
docker pull grafana/grafana
|
||||||
docker run -d --name grafana -p 3000:3000 grafana/grafana
|
docker run -d --name grafana -p 3000:3000 grafana/grafana
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue